Article View: news.software.readers
Article #242671Re: ????slrn does not work with eu.newsgroup-binaries.com
From: narke
Date: Mon, 06 Sep 2010 09:39
Date: Mon, 06 Sep 2010 09:39
104 lines
3878 bytes
3878 bytes
On 2010-09-06, narke <narkewoody@gmail.com> wrote:
> On Mon, 6 Sep 2010 04:41:56 +0000 (UTC), "John E. Davis"
><jed@jedsoft.org> wrote:
>
>>On Mon, 06 Sep 2010 11:38:45 +0800, narke <narkewoody@gmail.com>
>>wrote:
>>><281 Welcome to Usenet Access (Posting Allowed)
>>>>POST
>>>>
>>>
>>><340 Send Article to be Posted
>>>>.
>>>>
>>
>>It seems like nothing was sent to the server after issuing the POST
>>command. Did you compile this yourself? If so, try upgrading to the
>>latest development versions of slrn (pre1.0.0-19) and slang
>>(<http://www.jedsoft.org/snapshots/>), which, in addition to bug fixes,
>>adds more debugging information to the log file.
>>
>>If strace has been ported to cygwin, its output would be useful to see:
>>
>> strace -o /tmp/strace.log slrn
>>
>>Thanks,
>>--John
>
> I just downloaded the most recent development version of slrn via svn.
> I cannot use recent version of slang, since it cannot compile in
> cygwin for some errors, so I can only use binary version of slang for
> cygwin.
>
> $slrn -v
> slrn pre1.0.0-18
> * Note: This version is a developer preview.
> S-Lang Library Version: 2.1.3
> Compiled at: Sep 6 2010 15:52:28
> Operating System: CYGWIN_NT-5.1
> ...
>
>
> The result is still the same. Below are log file:
>
> --------
> !Connecting to server...
><200 Welcome Message (newsfe04.ams2)
>>MODE READER
>>
>
><201 Welcome Message (newsfe04.ams2) (No Posting)
>>AUTHINFO USER RP0000038822
>>
>
><381 PASS required
>>AUTHINFO PASS stvnews
>>
>
><281 Welcome to Usenet Access (Posting Allowed)
>>POST
>>
>
><340 Send Article to be Posted
>>.
>>
>
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.
> !Disconnecting from server.
> !Closing the server connection.
> ------------
>
> -
> narke
I think I found the problem :) Thanks for the hints John.
My server will not return when it get a empty post, such as
POST
.
It have to be feeded in something. So I changed the nntp_end_post
function in nntplib.c
...
+ if (-1 == nntp_puts_server (s, "test post"))
+ return -1;
if (-1 == nntp_puts_server (s, "."))
return -1;
return nntp_get_server_response (s);
...
Now, it works!
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
test post
Technical Details
Message-ID:
<slrni89dmp.43s.narkewoody@gam55p.woody.home>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe27.ams2.POSTED!8900af05!not-for-mailReferences:
<nof786t7qn5trdqcf6ohblv24fdjvtahcp@4ax.com> <JeffRelf.F-M.FM@_yY.2010_Sep.5_.10.02.am> <n2h886lnse5ofknor9753lftgdsj8lhkui@4ax.com> <slrni88ma2.jna.jed@aluche.mit.edu> <dho886pus74flkaah8mg52v8cbukvketg7@4ax.com> <slrni88sbp.uhi.jed@aluche.mit.edu> <u39986pclld0tds88igldd1mgcqj7gcgon@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <slrni89dmp.43s.narkewoody@gam55p.woody.home> Subject: Re: ????slrn does not work with eu.newsgroup-binaries.com Date: Mon, 06 Sep 2010 09:39:37 GMT From: narke <narkewoody@gmail.com> References: <nof786t7qn5trdqcf6ohblv24fdjvtahcp@4ax.com> <JeffRelf.F-M.FM@_yY.2010_Sep.5_.10.02.am> <n2h886lnse5ofknor9753lftgdsj8lhkui@4ax.com> <slrni88ma2.jna.jed@aluche.mit.edu> <dho886pus74flkaah8mg52v8cbukvketg7@4ax.com> <slrni88sbp.uhi.jed@aluche.mit.edu> <u39986pclld0tds88igldd1mgcqj7gcgon@4ax.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe27.ams2.POSTED!8900af05!not-for-mail Newsgroups: news.software.readers User-Agent: slrn/0.9.9p1 (CYGWIN_NT-5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 104 X-Complaints-To: abuse@newsgroups-download.com NNTP-Posting-Date: Mon, 06 Sep 2010 09:39:37 UTC Organization: Public Usenet Newsgroup Access X-Original-Bytes: 3620