Project

General

Profile

Actions

Bug #217

closed

https transfer of large files fail with SSL error

Added by Anonymous over 19 years ago. Updated almost 18 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

I recently compiled & installed Lighttpd-1.3.16 (ssl) on an OpenBSD 3.7 server Resin.

When servicing requests via HTTPS, some large (greater than 16KB) files get truncated at 16KB of data. When I say "some large files", I mean that some files work & some don't. I do not see a pattern to which files get truncated, but it's always the same ones.

All of the JPEGS linked from this HTTPS page fail 16KB into the transfer. When using standard HTTP the images will download entirely.

Here the State & Request Handling log during one of these failures:

2005-08-21 16:45:44: (connections.c.1167) state at start 8 req-end 
2005-08-21 16:45:44: (connections.c.1195) state for fd 8 req-end 
2005-08-21 16:45:44: (connections.c.1221) state for fd 8 handle-req 
2005-08-21 16:45:44: (response.c.1019) -- splitting Request-URI 
2005-08-21 16:45:44: (response.c.1020) Request-URI  :  /photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1021) URI-scheme   :  https 
2005-08-21 16:45:44: (response.c.1022) URI-authority:  marsorange.com 
2005-08-21 16:45:44: (response.c.1023) URI-path     :  /photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1024) URI-query    :   
2005-08-21 16:45:44: (response.c.1068) -- sanitising URI 
2005-08-21 16:45:44: (response.c.1069) URI-path     :  /photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1167) -- logical -> physical 
2005-08-21 16:45:44: (response.c.1168) Doc-Root     : /home2/mars/typo/public/ 
2005-08-21 16:45:44: (response.c.1169) Rel-Path     : /photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1170) Path         : /home2/mars/typo/public/photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1171) Server-Name  : marsorange.com 
2005-08-21 16:45:44: (response.c.1187) -- handling physical path 
2005-08-21 16:45:44: (response.c.1188) Path         : /home2/mars/typo/public/photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (response.c.1325) -- file found 
2005-08-21 16:45:44: (response.c.1326) Path         : /home2/mars/typo/public/photo/ws2003/images/11-FiresideMusicians.jpg 
2005-08-21 16:45:44: (connections.c.1303) state for fd 8 resp-start 
2005-08-21 16:45:44: (connections.c.1427) state for fd 8 write 
2005-08-21 16:45:44: (connections.c.1533) state at exit: 8 write 
2005-08-21 16:45:44: (network_openssl.c.168) SSL: 1 -1 error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry 
2005-08-21 16:45:44: (connections.c.530) connection closed: write failed on fd 8 
2005-08-21 16:45:44: (connections.c.1167) state at start 8 error 
2005-08-21 16:45:44: (connections.c.1506) shutdown for fd 8 
2005-08-21 16:45:44: (connections.c.1381) state for fd 8 close 
2005-08-21 16:45:44: (connections.c.1410) connection closed for fd 8 
2005-08-21 16:45:44: (connections.c.1370) state for fd 8 connect 
2005-08-21 16:45:44: (connections.c.1533) state at exit: 8 connect 

Thinking that there may be a problem between Lighttpd's SSL support & the server's OpenSSL 0.9.7, I recompiled Lighttpd with a completely new version of OpenSSL 0.9.8. The same error occurs.

-- m

#3

Updated by jan over 19 years ago

  • Status changed from New to Assigned
#4

Updated by jan over 19 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to fixed
Actions

Also available in: Atom