Re: Failed uploading file to Appache HTTP Server after using SSL

"Ken Chen" <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Hi, Cliff,

The below is the error in ssl-error_log when I am trying to save a large image:
[Thu Apr 20 16:55:36 2006] [debug] ssl_engine_io.c(1523): OpenSSL: I/O
error, 5 bytes expected to read on BIO#81f94a8 [mem: 81f9640]
[Thu Apr 20 16:55:36 2006] [info] (70007)The timeout specified has
expired: SSL input filter read failed.
[Thu Apr 20 16:55:36 2006] [debug] ssl_engine_kernel.c(1794): OpenSSL:
Write: SSL negotiation finished successfully
[Thu Apr 20 16:55:36 2006] [info] Connection to child 4 closed with
standard shutdown(server 192.168.2.130:443, client 192.168.2.199)
[Thu Apr 20 16:55:36 2006] [debug] ssl_engine_io.c(1523): OpenSSL: I/O
error, 5 bytes expected to read on BIO#81df970 [mem: 81eaf30]
[Thu Apr 20 16:55:36 2006] [info] (70007)The timeout specified has
expired: SSL input filter read failed.
[Thu Apr 20 16:55:36 2006] [debug] ssl_engine_kernel.c(1794): OpenSSL:
Write: SSL negotiation finished successfully
[Thu Apr 20 16:55:36 2006] [info] Connection to child 7 closed with
standard shutdown(server 192.168.2.130:443, client 192.168.2.199)

Ken


On 4/19/06, Cliff Woolley <[email protected]> wrote:
> On 4/19/06, Ken Chen <[email protected]> wrote:
>
> > Now seems when uploading big file has problem in ssl.  When I upload a
> > 3K image file, it's ok.  But when I upload a 35K image file.  It
> > failed.
>
>
> Ah, I see.
>
>
> > Is there any place to set the cache/buffer?  Or I have to set
> > SSLSessionCache and SSLSessionCacheTimeout?
>
>
> You should set the session cache anyway (failing to do so will result in a
> major drop in performance), but this should have no effect on the particular
> problem you're describing.
>
> > By the way, I don't understand why to use openssl s_client and issue a
> > GET request?  I am uploading file.  Isn't it a POST request?  Can you
> > have a brief sample how to test?
>
>
> It was unclear to me from your original message that *any* https was
> working, so I was trying to just give you the most basic test to try.  I
> didn't realize you could upload small files successfully.
>
> Did you turn on the ssl debug log and look at the spot in the large file
> upload where it failed?
>
> --Cliff
>


--
--------------------------------------------------
Ken Chen
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.