If I'm reading src/http.c correctly, that basically only happens if
iLength remains set to its original value of -1, so the response is
probably accurate. My best guess is that it's either a Bauk bug or
misconfiguration issue. Unfortunately I've never heard of Bauk, so I
can't really help you there.

I have added a smaller version of my twisted script[1] which may help
you unless you really need to use Bauk. Fair word of warning: maybe be
flakey with some clients in latest version of twisted because of a
http header regression[2]). Edit lines 17 and 18. Put your fossil repo
in repositories/Yourname.fossil, along with a file Yourname.cgi, which
just contains:

repository: Yourname.fossil

(Twisted will already run this with fossil, if fossil is on your
PATH.) Run python script.py, and you can access your repo at
http://localhost:8080/Yourname (the name it's available under is the
first argument to root.putChild on line 18)

[1]
http://www.bpaste.net/show/12921/

[2]
Ticket: http://twistedmatrix.com/trac/ticket/4786
Workaround (may not be necessary depending on client): comment out
twisted/web/server.py, line 118 :
http://twistedmatrix.com/trac/browser/tags/releases/twisted-10.2.0/twisted/web/server.py#L118

cheers
lvh
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to