W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2004

RE: Closing connections

From: Andi Reinbrech <AReinbre@multichoice.co.za>
Date: Tue, 9 Mar 2004 08:43:47 +0200
Message-ID: <79A1791707CB084A8F5B8C5C2F8B06DE059FDDD6@rnbm-msg02.mck.co.za>
To: "'Goldberg, Anton'" <antong@amazon.com>, Andi Reinbrech <AReinbre@multichoice.co.za>, www-lib@w3.org
Hi, thanks for the reply.  I forgot to mention that I already include
Connection: close, M$ just doesn't close the connection.  My "Connection:"
header says "TE,Close" and I can't get rid of the "TE".
 
Anyway, I am rewriting the whole post to web service on raw sockets, was
going to take less than to get libwww to work :-)
 
Thanks again,
Andi
 
-----Original Message-----
From: Goldberg, Anton [mailto:antong@amazon.com] 
Sent: 08 March 2004 20:15 PM
To: Andi Reinbrech; www-lib@w3.org
Subject: RE: Closing connections
 
Add the Connection:close header. By default libwww sends
Connection:Keep-Alive.
Anton
-----Original Message-----
From: www-lib-request@w3.org [mailto:www-lib-request@w3.org] On Behalf Of
Andi Reinbrech
Sent: Monday, March 08, 2004 2:18 AM
To: www-lib@w3.org
Subject: Closing connections
Hi, I hope someone still reads these posts, I am stuck in a bit of a mess.
 
I need to send a string via POST to a .dll on the client, then receive a
string back and parse it.
 
For some reason, M$ IIS closes any ports after streaming data *EXCEPT* after
a POST to a Web Service DLL.  The connection lingers and waits for libwww to
time out (which is much too long for me to wait, as the response has been
sent back already).
 
Java handled this OK, but JNI turned out to be way too slow, hence the C
attempt.
 
I think Java looked at the Content-length header, and if the body content
length matched it would assume that the transaction is done.
 
Any ideas?
Thanks,
Andi
mailto:areinbre@multichoice.co.za <mailto:areinbre@multichoice.co.za> 
 
 
****************************************************************************
*****************************************
Everything in this e-mail and attachments relating to the official business
of MultiChoice Africa is proprietary to the company. Any view or opinion
expressed in this message may be the view of the individual and should not
automatically be ascribed to the company.  If you are not the intended
recipient, you may not peruse, use, disseminate, distribute or copy this
message. If you have received this message in error, please notify the
sender immediately by email, facsimile or telephone and destroy the original
message.
****************************************************************************
*****************************************

**************************************************************************************************************************
Everything in this e-mail and attachments relating to the official business of MultiChoice Africa is proprietary to 
the company. Any view or opinion expressed in this message may be the view of the individual and should not automatically 
be ascribed to the company.  If you are not the intended recipient, you may not peruse, use, disseminate, distribute or 
copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile 
or telephone and destroy the original message.
**************************************************************************************************************************
Received on Tuesday, 9 March 2004 01:42:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 18 February 2014 13:20:04 UTC