part of the log when I try to upload 2nd time:
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1512): OpenSSL:
read 335/335 bytes from BIO#81d53d8 [mem: 81eeefd] (BIO dump follows)
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1459):
+-------------------------------------------------------------------------+
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0000: f9
9e 30 db e4 11 38 bd-41 8a 99 e8 f1 24 18 31  ..0...8.A....$.1 |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0010: 18
99 3b a2 03 26 23 e3-c1 a1 d3 73 22 09 63 e8  ..;..&#....s".c. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0020: 91
1f f2 48 1b 80 a6 fd-45 5d 11 27 ce 42 ac 74  ...H....E].'.B.t |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0030: dc
29 9c 4e 9a 23 02 cb-d4 1e 5a 72 ab 6c d9 df  .).N.#....Zr.l.. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0040: 9e
f8 34 45 cb 31 30 47-8a 50 a3 a3 38 e7 2b b8  ..4E.10G.P..8.+. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0050: 6b
56 dd ee 82 3c 21 01-49 9e e9 e0 fd 82 48 34  kV...<!.I.....H4 |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0060: 94
f3 73 c5 20 2a 0a 38-98 98 c4 4c a5 91 a3 f1  ..s. *.8...L.... |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0070: e7
09 74 a5 c3 b7 5f 92-94 68 60 6e e5 86 7c 23  ..t..._..h`n..|# |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0080: 8e
7f 37 02 a2 e5 bc 70-92 a6 78 cb 74 07 ff 99  ..7....p..x.t... |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0090: 4f
78 af b8 85 97 3e 37-27 b1 4f c2 94 df dd 7f  Ox....>7'.O..... |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00a0: c2
af b7 1a b1 9a e1 bb-a3 0c 61 3f 05 57 53 17  ..........a?.WS. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00b0: 2c
b6 f2 32 5f c1 8b 35-32 7d d1 bf dd 49 9c 4a  ,..2_..52}...I.J |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00c0: 28
9b cb cc 46 4e 5c 5e-ef 7e 8e 43 b4 76 39 14  (...FN\\^.~.C.v9. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00d0: 6e
2c d0 fd fa 08 c9 73-0f df b8 c4 14 c4 69 4e  n,.....s......iN |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00e0: fa
0f 0e 49 29 fd 4f cc-1d f1 56 51 bf aa 09 9b  ...I).O...VQ.... |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 00f0: 5d
6f b5 84 b5 78 07 49-d9 b4 17 5f 22 24 9c 26  ]o...x.I..._"$.& |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0100: 30
ab 32 26 b5 5e f4 b2-4e 82 1b 5f 3e 91 df 25  0.2&.^..N.._>..% |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0110: 00
54 86 cb 0d 2f a3 8d-46 e2 c6 7a 8e 2e 23 9a  .T.../..F..z..#. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0120: 99
8c ca a5 1a 4e 4f ed-4f 65 d2 46 17 a7 06 07  .....NO.Oe.F.... |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0130: d6
83 9a db 0c 78 24 d4-eb 62 02 74 a9 e7 5c b5  .....x$..b.t..\\. |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1484): | 0140: f7
0e 16 f1 86 2c b7 45-96 65 77 6b ce dc 2e     .....,.E.ewk...  |
[Thu Apr 20 17:04:31 2006] [debug] ssl_engine_io.c(1490):
+-------------------------------------------------------------------------+
[Thu Apr 20 17:04:31 2006] [info] Subsequent (No.3) HTTPS request
received for child 1 (server 192.168.2.130:443)
[Thu Apr 20 17:04:46 2006] [debug] ssl_engine_io.c(1523): OpenSSL: I/O
error, 5 bytes expected to read on BIO#81d53d8 [mem: 81eeef8]
[Thu Apr 20 17:04:46 2006] [info] (70007)The timeout specified has
expired: SSL input filter read failed.
[Thu Apr 20 17:04:46 2006] [debug] ssl_engine_kernel.c(1794): OpenSSL:
Write: SSL negotiation finished successfully
[Thu Apr 20 17:04:46 2006] [info] Connection to child 1 closed with
standard shutdown(server 192.168.2.130:443, client 192.168.2.199)

On 4/20/06, Ken Chen <[EMAIL PROTECTED]> wrote:
> 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
>


--
--------------------------------------------------
Ken Chen
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to