Gabriele Bartolini writes:
>
> The chances are 3, in order of favour:
>
> - get the stream buffer empty with a command (I hope it exists, tell me 'YES')
> - send a signal to the connection (maybe by closing it too - I hope it
> won't be !!!)
> - reading the body even if I don't need it (I don't think it's much good)
>
> Please help me, I trust you ...
>
I won't help a lot I'm afraid. Two questions (I could read the code but
I guess you can reply right away :-) :
a) when finished with the first request are you closing the
HTTP connection ?
b) could you write the conditions into testnet.cc/t_htnet so that I can try
and see the behaviour ? I may even be able to debug it ;-)
I'll reply to your previous mail here too:
>
> Tell me, please, how should I move myself in order to try the cgi you
> prepared ...
>
Simple. You may do the following:
cat > t_htnet <<EOF
. test_functions
verbose=$1
./testnet -U http://localhost:7400/set3/nph-hang.cgi $verbose
[ $? != 5 ] && exit 1
EOF
Provided you arrange testnet to exit with status 5 if the URL cannot
be retrieved because of a timeout.
This is the very simple case but you could do as you want.
Cheers,
--
Loic Dachary
ECILA
100 av. du Gal Leclerc
93500 Pantin - France
Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.