|Anonymous | Login | Signup for a new account||2019-08-23 19:07 CEST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000628||aMule||External Conn||public||2005-10-30 12:13||2005-11-27 22:08|
|Target Version||Fixed in Version||SVN|
|Summary||0000628: Content-Length sent by amuleweb is missing the last byte|
|Description||This is not visible when you connect directly with most webbrowsers to amuleweb, but if you have amuleweb somewhere behind a firewall and let it go out through mod_proxy of an apache 2.0 you could see the bug clearly, because apache cancels all bytes after the content-length is reached.|
The bug seems to be not problem of the byte counting, more the cariage-returns at the end of the header lines. If you show the source of the HTML pages, amuleweb generates, you see an additional return before the "<html>" tag. mod_proxy or for example wget on the other hand strip the last bytes (because they think its behind the content-length), the pages end with "</htm".
I run amule CVS (20051024) on Linux on an EV56 alpha machine (debian).
The HTTP-RFC states that all linefeeds in the HTTP Headers must be \n\r, not mixed or anything else. Content-Length must be counted after that.
Some images sometimes appear also destroyed.
|Tags||No tags attached.|
|Fixed in Revision|
|Sorry it must be \r\n for HTTP headers, just a misspelling...|
|This does not appear in the PHP templates. It would be good to have a option to supply amuled or the config file amule.conf with the template name that the automatic start of amuleweb can get the correct template name.|
|With the PHP amule web part (with or without zlib enabled) the problem occurs sometimes, too. Aditionally sometimes garbage is appended to the end of the sent file.|
|A fix has been committed for this. Please let us know if you still experience the problem.|
|2005-10-30 12:13||thetaphi||New Issue|
|2005-10-30 12:18||thetaphi||Note Added: 0001377|
|2005-10-30 13:19||thetaphi||Note Added: 0001378|
|2005-10-30 17:00||Xaignar||Status||new => assigned|
|2005-10-30 17:00||Xaignar||Assigned To||=> lfroen|
|2005-10-30 18:23||thetaphi||Note Added: 0001382|
|2005-11-27 22:08||Xaignar||Status||assigned => resolved|
|2005-11-27 22:08||Xaignar||Fixed in Version||=> CVS|
|2005-11-27 22:08||Xaignar||Resolution||open => fixed|
|2005-11-27 22:08||Xaignar||Note Added: 0001519|
|Copyright © 2000 - 2019 MantisBT Team|