1. Summarise the issue (what were doing, what went wrong?)
A patch with the following comment hangs on 'darcs send' command.
Our configuration.
Configuration file repo/_darcs/prefs/post contains a path to remote cgi
http://remote-server/darcs-apply-test.cgi
darcs-apply-test.cgi on the remote-server for the test purposes contains only
#! /bin/bash
echo here >/tmp/here
echo Content-Type: text/plain
echo
cat >/tmp/foo
We first recorded and sent a patch with a different comment, and both /tmp/here and /tmp/foo
contained expected information on remote-server. We then deleted both those files and recorded
and sent a patch with the comment below. Command 'darcs send' hangs indefinitely and files do
not appear on the remote host.
Please note that we had seen same behaviour with other comments, so it is not specific to
particular one, used to reproduce the issue.
No long comment was used. Doesn't depend on contents of the patch, only on the comment.
Comment (possibly there is a shorter version, but we didn't spend time finding what particular
part of this comment causes the issue):
New mongo-utils package with mongodb helper utilities. Not completely functional, but good
enough for the first iteration and pcm-analysis work.
2. What behaviour were you expecting instead?
Patch being sent without hanging indefinitely long
3. What darcs version are you using? (Try: darcs --exact-version)
darcs compiled on Nov 1 2016, at 11:40:33
Context:
[TAG 2.12.4
Guillaume Hoffmann <guillaumh@gmail.com>**20160914143914
Ignore-this: fee5b93a45e3a175e63e6fdb837ec4dc
]
Compiled with:
HTTP-4000.3.3
array-0.5.1.0
async-2.1.0
attoparsec-0.13.1.0
base-4.8.2.0
base16-bytestring-0.1.1.6
binary-0.7.5.0
bytestring-0.10.6.0
containers-0.5.6.2
cryptohash-0.11.9
data-ordlist-0.4.7.0
directory-1.2.2.0
fgl-5.5.3.0
filepath-1.4.0.0
graphviz-2999.18.1.2
hashable-1.2.4.0
haskeline-0.7.2.1
html-1.0.1.2
mmap-0.5.9
mtl-2.2.1
network-2.6.3.1
network-uri-2.6.1.0
old-time-1.1.0.3
parsec-3.1.11
process-1.2.3.0
random-1.1
regex-applicative-0.3.3
regex-compat-tdfa-0.95.1.4
sandi-0.4.0
tar-0.5.0.3
terminfo-0.4.0.1
text-1.2.2.1
time-1.5.0.1
transformers-0.4.2.0
transformers-compat-0.5.1.4
unix-2.7.1.0
unix-compat-0.4.2.0
utf8-string-1.0.1.1
vector-0.11.0.0
zip-archive-0.3.0.5
zlib-0.6.1.1
4. What operating system are you running?
Ubuntu 14.04.5 LTS
|