Hi to all,
i have a problem setting SO_LINGER with
HttpConnectionManagerParams#setLinger(int) method.
I need the same behaviour of socket.setSoLinger(true, 0),
but HttpConnectionManagerParams#setLinger(0) seems not work like my
expectations...
I look at source code and i found in HttpConnection.java this (line
726):
socket.setSoLinger(linger > 0, linger);
i think, it should be:
socket.setSoLinger(linger >= 0, linger);
right?
thanks
matteo
Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni
documento o file allegato, e' rivolta unicamente alla/e persona/e cui e'
indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i
destinatari/autorizzati siete avvisati che qualsiasi azione, copia,
comunicazione, divulgazione o simili basate sul contenuto di tali informazioni
e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003
Codice in materia di protezione dei dati personali). Se avete ricevuto questa
comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e
di distruggere il messaggio originale e ogni file allegato senza farne copia
alcuna o riprodurne in alcun modo il contenuto.
This e-mail and its attachments are intended for the addressee(s) only and are
confidential and/or may contain legally privileged information. If you have
received this message by mistake or are not one of the addressees above, you
may take no action based on it, and you may not copy or show it to anyone;
please reply to this e-mail and point out the error which has occurred.
-----------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]