hgweb Odd-string length error

Jérôme Godbout jerome at bodycad.com
Mon Jul 21 19:04:46 UTC 2014


I try wireshark, but as I suspected, does not give me much, encoded payload
communication, "?cmd=batch" request return code 200 with a payload (not
much I can do with that). Try to compare with a hg serve directly not much
difference except the header server: hg serve is BaseHTTP/0.3 Python/2.7.6
and the hgweb under apache is Apache/2.4.8 (Win64) OpenSSL/1.0.1f

Http layer:
They both are http/1.1
They both have Response Phrase: Script output follows
They both have content type: application/mercurial-0.1

the working one have a much lower byte count into the payload 96 bytes
versus 278 for the non working version for answering the batch cmd.
Look like something went wrong into python and it print a stack trace I
guess. But it's not clear text so I'm just supposing about that.

Anybody have a working hgweb under Windows???
(If I cannot solve this soon, I'm probably heading to move this project
under git, since I cannot change the platform for this project sadly)



On Wed, Jul 16, 2014 at 3:06 PM, Matt Mackall <mpm at selenic.com> wrote:

> On Wed, 2014-07-16 at 10:15 -0400, Jérôme Godbout wrote:
> > Not sure if the problems lie into the client handling the answer or the
> > actual data shape send by server (not much knowledge about the protocol
> > used by mercurial here). Any other way to debug this? Anyone have a
> slight
> > idea why? (time like those I wish my work was on *nix machine!)
>
> https://www.wireshark.org/download.html
>
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140721/9089b9b6/attachment-0002.html>


More information about the Mercurial mailing list