I ran into the same problem when I was trying to do what you are doing.
The solution was to add a Content-Length field in the header so that the
server knew how much to read.
-Jim
Fernando Ruscitti wrote:
>
> I solved the problem just doing a shutdown(1) over de socket
descriptor (not the
> ssl
Fernando Ruscitti wrote:
>
> I solved the problem just doing a shutdown(1) over de socket descriptor (not the
> ssl context) after all my SSL_writes. It works, but i don't now if there are a
> better solution.
Thank you for the answer. As I still do not support persistent
connections with my sim