HTTP “broken pipe” Error on non-Windows Systems (Linux, iOS, MacOSX, etc.)

If you see the error lines “The connection already exists, as far as we know..” followed by “socketError: Broken pipe”  in any LastErrorText for a method that sends an HTTP request, it means the following:   The server replied to the previous request without a “Connection: close” header, thus allowing the …

HTTPS Windows Integrated Authentication

This example explains how to do HTTP authentication on a Windows system using the current logged-on user credentials. Classic ASP: HTTPS Windows Integrated Authentication C: HTTPS Windows Integrated Authentication Chilkat2-Python: HTTPS Windows Integrated Authentication C++: HTTPS Windows Integrated Authentication C#: HTTPS Windows Integrated Authentication C# UWP/WinRT: HTTPS Windows Integrated Authentication …

Chilkat HTTP Methods that return an HttpResponse Object

Question: I am having a problem identifying read timeouts from sites. I set ConnectTimeout and ReadTimeout properties of the HTTP object. When the site fails to respond within ReadTimeout, the following happens: PText still returns 0 PText returns a response object Reading of StatusCode and StatusText properties of the response …

v9.5.0.35 Micro Update: HTTP Resume Download – Fixed PercentDone Event Callback

The PercentDone callback always began at 0 when resuming a download. If a partial file exists locally, and the download is resumed, the percent done now begins at the place based on the size of the partial file. (If 50% of the file already exists, then the percent done begins …

v9.5.0.34 Micro Update: SSL/TLS Perfect Forward Secrecy, Minor HTTP and ASN.1 Fixes

The internal Chilkat SSL/TLS implementation now supports the TLS_DHE_RSA_WITH_AES_256_CBC_SHA and TLS_DHE_RSA_WITH_AES_128_CBC_SHA cipher suites. These allow for perfect forward secrecy. Note: This is implemented on the client-side for all protocols using SSL/TLS. The SSL/TLS client provides the server with a list of algorithms it supports, and it is the server that …

v9.5.0.32 Micro Update: HTTP Connection Left in Invalid State after Event Callback Aborts Operation

For HTTP requests that have KeepAlive indicated in the response header, the internal connection is not closed so that a subsequent request may continue using the existing connection. However, when the client application aborts in the middle of receiving the response, the connection must be closed to avoid being left …