It seems that my client begins a request, the server ACKs, and then nothing happens for 20 seconds until my client sends a FIN.

(172.19.246.207 = me, 209.85.133.191 = remote server)

Posted by Trevor Johns (tjohns) on 2008-10-10T23:10:40.000+0000

Alright, it seems that there's a problem has to do with the Content-Length HTTP header.

If, in Zend_Http_Client, I change:

const CONTENT_LENGTH = 'Content-Length';

to:

const CONTENT_LENGTH = 'content-length';

then the test passes. (This would be a partial revert of r11768.)

Posted by Trevor Johns (tjohns) on 2008-10-11T00:34:31.000+0000

Moving to component Zend_Http_Client.

The problem was that Zend_Http_Client's internal header's array is indexed by lowercase header names, regardless of the actual header. The changes in r11768 were looking up headers using a non-normalized name, which would always fail.