On 25 August 2017 at 19:51, Oleg Kalnichevski <[email protected]> wrote:
> On Fri, 2017-08-25 at 19:23 +0530, Vasudevan Comandur wrote:
> > Thanks Oleg for your reply.
> >
> > The Wireshark trace shows clearly that data was coming in
> > chunks/frames and
> > also got assembled finally with HTTP headers.
> > Can JRE close the socket on its own when it receives TCP Flags [FIN,
> > PSH,
> > ACK] in the frame without the caller closing the socket?
> >
>
> All sorts of things can happen between the OS TCP/IP stack and the
> application layer of JRE especially on Windows. I doubt JRE would close
> the socket on its own but the OS could.
>
Are you saying that Linux platform is better?. Unfortunately, some
clients use
Windows environment only.
>
>
> > Is there any other solution other than trying with different JDK
> > versions?
> >
>
> 1.8.0.102 sounds reasonably stable to me.
>
> What I would do though is to make sure that connections do not stay
> alive too long by imposing a total time to live, say, under 30 seconds,
> as false NoHttpResponseException tend to occur with connections that
> stay idle for some while.
>
I am using HTMLUnit and how do I set the ttl value?. Is there a way to
set the value?
Regards
Vasu
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>