Good day!
Just discovered really strange behaviour from HttpCore NIO 4.2.1, not sure
if it's a bug or I'm just using it in a wrong way...
Steps to reproduce:
1. use NoConnectionReuseStrategy
2. add ResponseConnControl to HttpProcessors
3. implement almost empty HttpAsyncResponseProducer
4. make a request using Chromium
5. ResponseConnControl line 86 will not find entity and will set
Connection header to keep-alive on line 100.
6. HttpAsyncService on line 552 will check ConnectionReuseStrategy and
will close connection.
So as a result we have Connection: keep-alive reported but connection
closed.
Workaround is of course to set own Connection header and do not add
ResponseConnControl processor, but resulting code is quite messy...
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]