forked from espressif/arduino-esp32
Bugfix/http client (#2867)
* Fix persistance issue found, see ESP8266 issue #6152 * Correcting the parsing of the header for HTTP1.0 * Send 'Connection: Close' header in case of HTTP1.0 * Let reuse connection depend on protocol used: HTTP1.0 or HTTP1.1 * Fixed reuse, added null ptr checks, added check for _trainsportTraits in connect() in case _client was set null * Fix reuse connection issues, similar to ESP8266 PR #6176
This commit is contained in:
@ -197,7 +197,7 @@ protected:
|
||||
};
|
||||
|
||||
bool beginInternal(String url, const char* expectedProtocol);
|
||||
void disconnect();
|
||||
void disconnect(bool preserveClient = false);
|
||||
void clear();
|
||||
int returnError(int error);
|
||||
bool connect(void);
|
||||
|
Reference in New Issue
Block a user