Article View: demon.ip.developers
Article #596[KA9Q] feature of ASCII socket EOL translation
From: Graham E Kinns
Date: Thu, 13 Feb 1997 00:00
Date: Thu, 13 Feb 1997 00:00
18 lines
1232 bytes
1232 bytes
Don't know how many versions of KA9Q this applies to but something I've noticed - a couple of news articles posted via DejaNews have arrived with an extra \r tagged onto the end of the References: header so that the line arrives as References: <...>\r\r\n In sockuser.c, recvchar() just throws away the next character when the current one matches the first char of the EOL sequence (\r\n for an ASCII TCP socket) - so it actually returns \n twice. That extra blank line effectively moves the rest of the header into the article body. This could also effect mail messages and other protocols in similar circumstances. Cheers, Graham. -- ----[ Graham E. Kinns ]----==========----< Graham@grempc.demon.co.uk >----
Technical Details
Message-ID:
<855853843snz.7401@grempc.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,2b31168ba8fb364c,start X-Google-Attributes: gid10bb05,public From: Graham E Kinns <Graham@grempc.demon.co.uk> Subject: [KA9Q] feature of ASCII socket EOL translation Date: 1997/02/13 Message-ID: <855853843snz.7401@grempc.demon.co.uk> X-Deja-AN: 218557666 X-NNTP-Posting-Date: Thu, 13 Feb 1997 18:26:42 +0000 (GMT) X-NNTP-Posting-Host: grempc.demon.co.uk Organization: Home, N Yorks, UK Newsgroups: demon.ip.developers