Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 11:18:03 AM: > > Chris Cross wrote: > > Nick Kew wrote on 09/11/2009 10:31:46 AM: > > > Hmmm. That sounds buggish (dammit, it's a long time since I did > > > anything nontrivial with CGI). > > > > >

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 10:31:46 AM: > Hmmm. That sounds buggish (dammit, it's a long time since I did > anything nontrivial with CGI). > > What Apache version, and what CGI implementation? >From my CGI env: SERVER_SOFTWARE=Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mo

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 09:55:25 AM: > Chris Cross wrote: > > Hi, > > I haven't been able to find any documentation on how (or if) CGI handles > > Transfer-Encoding: chunked. It looks to me like Apache is eating the > > chunk size line, as the first byte

[us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Hi, I haven't been able to find any documentation on how (or if) CGI handles Transfer-Encoding: chunked. It looks to me like Apache is eating the chunk size line, as the first byte of data I read from stdin is the data I'm posting. I can clearly see the chunk size line preceding the data in a pac