does TAKETHIS wait for a response?
Anne Wilson
anne at unidata.ucar.edu
Wed Sep 29 18:12:52 UTC 2004
Hi,
I'm browsing the code and trying to determine if innfeed waits for a
response to TAKETHIS or not. The RFC says:
TAKETHIS is used to send articles to a server when in streaming mode.
The entire article (header and body, in that sequence) is sent
immediately after the peer sends the TAKETHIS command. The peer does
not have to wait for a response from the server before sending the
next command and the associated article.
Seems like innfeed would have to wait for a response in order to switch
back and forth between CHECK and TAKETHIS, unless it is doing something
more clever. From what I see (specifically looking at "prepareRead") it
looks like it only reads a response if there's one on the socket. Is
that correct?
If it doesn't wait for a response, then does it assume articles are
being accepted for the purpose of determining what mode to be in?
TIA again!
Anne
--
***************************************************
Anne Wilson UCAR Unidata Program
anne at unidata.ucar.edu P.O. Box 3000
Boulder, CO 80307
----------------------------------------------------
Unidata WWW server http://my.unidata.ucar.edu/
****************************************************
More information about the inn-workers
mailing list