large repository access
Kastner Masilko, Friedrich
kastner-masilko at at.festo.com
Mon Oct 14 10:03:46 UTC 2013
> From: Franklin Siler [mailto:fsiler at gmail.com]
>
> I'm afraid that "hg serve" crashes without leaving anything in the
> error log or on the console when trying to access files with this
> method, even with "-vvv" added. Also, WEBDAV doesn't work against it;
> the HTTP OPTIONS command isn't supported. I suppose the latter might
> be easy to patch, but a bit more introspection about the crash is
> necessary before I can do much about it.
Indeed the crash needs more introspection. I can't reproduce a crash here with TortoiseHg 2.9.1 (Mercurial-2.7.1, Python-2.7.3) installation.
"hg serve --port 8000 --debug" shows this log on a repository with picture content and a Firefox browser access of first the file browsing and then directly the raw content via "http://localhost:8000/raw-file/fdf0fe58b8a1/Product/Project/Resources/Product_failed_16x16.png":
listening at http://host.company.net:8000/ (bound to *:8000)
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /file/fdf0fe58b8a1/Product/Project/Resources/Product_failed_16x16.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /static/style-coal.css HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /static/mercurial.js HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /highlightcss HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /static/hgicon.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /static/hglogo.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:16] "GET /static/background.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2013 11:53:21] "GET /raw-file/fdf0fe58b8a1/Product/Project/Resources/Product_failed_16x16.png HTTP/1.1" 200 -
Could perhaps the file-size be the reason for the crash?
I'm not sure how easy it would be to get WEBDAV support patched-in, though.
regards,
Fritz
Development Software Systems
Festo Gesellschaft m.b.H.
Linzer Strasse 227
Austria - 1140 Wien
Firmenbuch Wien
FN 38435y
UID: ATU14650108
Tel: +43(1)91075-198
Fax: +43(1)91075-282
www.festo.at
Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich fuer den bezeichneten Adressaten bestimmt.
Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail und
moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender der E-Mail in
Verbindung zu setzen, falls Sie nicht der Adressat dieser E-Mail sind sowie das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or
dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this
e-mail, please delete it and immediately notify the sender.
More information about the Mercurial
mailing list