[erlang-questions] erlang-questions Digest, Vol 14, Issue 27

Ingela Anderton Andin ingela@REDACTED
Tue Jul 29 12:08:44 CEST 2008


chunked encoding with mod_esi works fine in our daily builds. Try it 
with the OTP-http client
maybe you will get a clue about what happens? inets:start(). 
http:request("http://..."). You can also try to set
the verbose option to verbose, debug or trace with the 
http:set_options/[1,2] to get more information.
Maybe if your callback-function crashes you would get this behavior.

Regards - Ingela Erlang/OTP, Ericsson
> I'm working with inets httpd using a mod_esi module which calls
> deliver/2 multiple times before returning from the callback/3 function
> in order to send the response back to the client incrementally.  Reading
> the code in mod_esi quickly hints that this calling pattern should
> produced chunked response segments being sent to an http 1.1 client.  I
> have not been able to get this working for FF3, with the browser
> choosing to close the connection before the entire result set is
> received.
> If i use wget (which connects as an http 1.0 client), or I supply the
> disable chunked attribute to inets httpd, the transfer works correctly.
> Are there known issues with inets httpd and chunked response transport?

More information about the erlang-questions mailing list