SourceForge.net | 13 Aug 2011 13:31
Picon

[ libetpan-Bugs-3390872 ] mode_reader rejects 201 as unexpected

Bugs item #3390872, was opened at 2011-08-13 13:28
Message generated for change (Comment added) made by sbigaret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3390872&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: mode_reader rejects 201 as unexpected

Initial Comment:
Hi

This applies to libetpan v1.1 and to the subversion HEAD as of today.

In low-level/nntp/newsnntp.c: newsnntp_mode_reader() returns
NEWSNNTP_ERROR_UNEXPECTED_RESPONSE when a server replies with a 201
cf. http://tools.ietf.org/html/rfc3977#section-5.3


It should return NEWSNNTP_NO_ERROR (like in newsnntp_connect())

Tiny patch attached.
(Continue reading)


Gmane