Re: Socket connection return "Process file table overflow."



On Mar 25, 10:02 am, Nuno <nuno.escul...@xxxxxxxxx> wrote:

I think i do not look for any specification, because i only need to
implement a simple file download from a HTTPS Server...

And that's precisely why you're in trouble now. You don't know what
the server is supposed to do when the transfer is finished or how to
negotiate that behavior. If you had worked from a copy of the HTTP
standard, you would know.

Can you give me some guidelines of what is needed to open a connection
and to close, or to prepare it to the next download...

I think that would be more likely to hurt you than to help you. You
really should read the specification. I will tell you a few helpful
things:

1) If you implement HTTP 1.1, persistent connections (remain connected
after each query so you can send the next) are the default. The server
will send a 'Connection: close' if it cannot keep the connection open.

2) With HTTP 1.0 and later, 'Host' headers are mandatory.

3) With HTTP 1.1, you *must* be prepared to accept chunked encoding.

4) You can probably get away with implementing HTTP 1.0 but sending a
'Connection: Keep-Alive' header. You should not assume the connection
will in fact be persistent. Check for a 'Connection: Keep-Alive'
header in the response. If you get 'Connection: Close', the connection
will be closed at the end of the response.

DS
.



Relevant Pages

  • Re: rpc over http connection problem
    ... HTTP Error 403.2 - Forbidden: ... it is important that you don't get any warning or etc. for certificate. ... >> i have single exch2003sp1 on w2003ent server. ... but the status keeps on remaining trying connection. ...
    (microsoft.public.exchange.connectivity)
  • Re: HTTP DDoS attack on our servers
    ... Server administration, security, programming, consulting. ... HTTP DDoS attack on our servers ... > handle HTTP requests at all and immediately closed the connection after ...
    (Incidents)
  • Re: .net 2 and ADOMD
    ... I now get the same problem when I try to retieve catalogs from a remote ... TCP but rmote TCP connection takes roughly 20 seconds. ... I will alter our code to be configuarable to use TCP or HTTP. ... or use a direct connection to your server. ...
    (microsoft.public.sqlserver.olap)
  • Re: Opentextfile TriStateMixed
    ... If it doesn't work you might also try using HTTP. ... I find that if I use winsock and talk directly to an FTP server, ... The FTP server just sends the file to me with an HTTP ... "The GetHeader method is used to retrieve header text from an HTTP file" ...
    (microsoft.public.vb.general.discussion)
  • Re: Kerberos error KDC_ERR_BADOPTION
    ... Ran the same test again using the IP instead of the host name and got this: ... Reusing existing connection \n ... Server: Microsoft-IIS/6.0\r\n ... I suggest you use webfetch to perform a test and trace the rawdata of http ...
    (microsoft.public.inetserver.iis.security)