• Poul-Henning Kamp's avatar
    So one of those strange cornercases in HTTP/1 · d3274238
    Poul-Henning Kamp authored
    If we send the backend a HTTP/1.0 request, and it doesn't have a
    Content-Length, it cannot use Chunked and must fall back to EOF.
    
    However, the protocol field in the response tells us what version
    backend *could* have used, not what it *does* use.
    
    So we can get a response with HTTP/1.1 and EOF, following HTTP/1.0
    semantics - because we asked for it.
    
    Most sensible backends avoid this, either by buffering and creation
    of a C-L or, smartly, returning "HTTP/1.0", even though that
    is strictly speaking against the apocrphal texts.
    
    Anyway, now we cope...
    
    Fixes: 	#1810
    d3274238
Name
Last commit
Last update
..
cache_http1.h Loading commit data...
cache_http1_deliver.c Loading commit data...
cache_http1_fetch.c Loading commit data...
cache_http1_fsm.c Loading commit data...
cache_http1_line.c Loading commit data...
cache_http1_pipe.c Loading commit data...
cache_http1_proto.c Loading commit data...
cache_http1_vfp.c Loading commit data...