[Varnish] #1314: varnishadm and pipe
Varnish
varnish-bugs at varnish-cache.org
Wed Oct 2 14:24:12 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 |
-----------------------------+-----------------------------------------
Comment (by Martin Blix Grydeland <martin@…>):
In [7c3e40fe2dae02028cf3094f459834e1656978f4]:
{{{
#!CommitTicketReference repository=""
revision="7c3e40fe2dae02028cf3094f459834e1656978f4"
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:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list