[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] https client



On Thu, Mar 08, 2012 at 09:39:23PM +0400, Alexey Ozeritsky wrote:
> Hello,
> 
> I cannot get https client working.
> I have tried 2 servers (apache2 and nginx).
> 
> libevent 2.0.17+ssl-patches and current git version give the same result.
> 
> nginx access_log:
> 127.0.0.1 - - [08/Mar/2012:21:08:34 +0400] "POST /cgi-bin/test.cgi HTTP/1.1" 400 0 "-" "-"
> 
> apache2 error_log:
> [Thu Mar 08 21:24:34 2012] [error] [client 127.0.0.1] (70014)End of file found: Error reading request entity data
> 
> GET request works fine
> 
> Simple program attached.
> 
> Thanks.

This is your server (nginx/apache) telling you that POST is not an
accepted request type for test.cgi.

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.