howto-openssl
howto-openssl copied to clipboard
Data lost if 400 Bad request
I try some modification:
- SSL_write(ssl, "Host www.google.com\nGET /\n\n", strlen("Host www.google.com\nGET /\n\n"));
- SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, 0);
And part of the reply is lost. I receive the first 1239 of the 1555 or more size.