[Varnish] #1314: varnishadm and pipe

Varnish varnish-bugs at varnish-cache.org
Wed Jun 12 13:15:38 CEST 2013


#1314: varnishadm and pipe
-----------------------------+-----------------------------------------
 Reporter:  johnnyrun        |       Owner:  Tollef Fog Heen <tfheen@…>
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  After Varnish 2.1
Component:  varnishadm       |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:  varnishadm pipe  |
-----------------------------+-----------------------------------------
Changes (by Tollef Fog Heen <tfheen@…>):

 * owner:   => Tollef Fog Heen <tfheen@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [56a571a70f9e00545b5d5f08437fc65425c1a573]:
 {{{
 #!CommitTicketReference repository=""
 revision="56a571a70f9e00545b5d5f08437fc65425c1a573"
 Handle input from stdin properly in varnishadm

 readline doesn't really handle when input comes from a file or pipe,
 so only use readline if stdin is a tty.

 Thanks to johnnyrun for a patch which was used for inspiration here.

 Fixes #1314
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1314#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list