howto-openssl icon indicating copy to clipboard operation
howto-openssl copied to clipboard

Data lost if 400 Bad request

Open alphaonex86 opened this issue 5 years ago • 0 comments

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.

alphaonex86 avatar Aug 24 '20 19:08 alphaonex86