login about faq

This is one of the HTTP library feature listed on Chilkat website - "Automatically manages a pool of connections with HTTP servers." Can you point me to the URL or explain that elaborates this feature? I want to know all the inside/outside of it.

asked Nov 06 '12 at 09:06

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


The Chilkat.Http object will automatically keep a connection open after an HTTP request, if possible. If the HTTP response from the server includes a "Connection: close" header, then the connection is closed (because the server is requesting it, and the server will disconnect anyway).

When sending a subsequent HTTP request on the same HTTP object instance, if the connection is already in existence, it is used. Otherwise, a new connection is established. The application using the Chilkat HTTP object does not explicitly create a connection in a separate call. Any method that sends a request will implicitly establish the connection if needed.

If the already-established connection is non-SSL/TLS, but the subsequent connection requires SSL/TLS, then the existing connection is closed and a new secure connection is established.

The HTTP client (your application) can explicitly close all connections by calling the CloseAllConnections method.

To send multiple simultaneous requests to the save web server, an application would need one HTTP object instance per request. It's not possible to send multiple simultaneous requests using the same object instance.

The Chilkat HTTP object will maintain a maximum of 10 open connections. If this is exceeded, then the least recently used connection is closed to make room for the next connection.

link

answered Nov 06 '12 at 09:14

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186
×3
×1
×1

Asked: Nov 06 '12 at 09:06

Seen: 1,043 times

Last updated: Nov 06 '12 at 09:14

powered by OSQA