mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
examples: Correct Content-Length in openssl_server example
Before this fix it didn't send all of the response, ending with `</h` Merges https://github.com/espressif/esp-idf/pull/2535
This commit is contained in:
parent
049c9f7bea
commit
3ed0f7697d
@ -37,7 +37,7 @@ const static char *TAG = "Openssl_example";
|
||||
|
||||
#define OPENSSL_EXAMPLE_SERVER_ACK "HTTP/1.1 200 OK\r\n" \
|
||||
"Content-Type: text/html\r\n" \
|
||||
"Content-Length: 98\r\n\r\n" \
|
||||
"Content-Length: 106\r\n\r\n" \
|
||||
"<html>\r\n" \
|
||||
"<head>\r\n" \
|
||||
"<title>OpenSSL example</title></head><body>\r\n" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user