[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI - SSL (fwd)



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Hi Rick,

> I have a program using HTTPAPI and SSL.  Why is that after I have done a
> post and the program has ended is it still leaving an open connection?
> If I do a netstat command I see that the connection is still established.

What state is the connection listed in by NETSTAT?  "Established"?
If so, that's very strange, it doesn't do that for me...

> I think this is what causing the program to fail the next time called.
> The only way I can get to connect after initial success is have the remote
> site reset on their side.  I can then send another transaction but then
> back to square one again with open connection.

Well, if it's really not disconnecting, that's a problem that should be
fixed in HTTPAPI.

If there's something else going on, though, you might try specifying
Connection: close using http_xproc() with HTTP_POINT_ADDL_HEADER.  That
will tell the remote server to immediately disconnect when the
conversation is complete.

I wonder if I should make that the default again?  It seems like we had
fewer problems when that was the default...
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------