james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Perry (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-311) Nntp very picky with clients
Date Fri, 18 Mar 2005 12:34:20 GMT
     [ http://issues.apache.org/jira/browse/JAMES-311?page=comments#action_61203 ]
     
Daniel Perry commented on JAMES-311:
------------------------------------

Patch to fix this and make james rcf compliant with respect to messages not ending with \r\n.


--- NNTPHandler_orig.java
+++ NNTPHandler.java
@@ -1053,7 +1053,7 @@
         if (article != null) {
             writer.flush();
             article.writeBody(new ExtraDotOutputStream(outs));
-            writeLoggedFlushedResponse(".");
+            writeLoggedFlushedResponse("\r\n.");
         }
     }
 
@@ -1189,7 +1189,7 @@
         if (article != null) {
             writer.flush();
             article.writeArticle(new ExtraDotOutputStream(outs));
-            writeLoggedFlushedResponse(".");
+            writeLoggedFlushedResponse("\r\n.");
         }
     }



> Nntp very picky with clients
> ----------------------------
>
>          Key: JAMES-311
>          URL: http://issues.apache.org/jira/browse/JAMES-311
>      Project: James
>         Type: Bug
>   Components: NNTPServer & Repository
>     Versions: 2.2.0
>  Environment: Tested on Windows xp Pro and Netware 6.5SP@ with Java 1.4.2_04
>     Reporter: Rodney Crossman

>
> Cannot read messages posted by some NNTP clients.
> For example, if a message is posted with Mozilla Firefox .72 or Groupwise client 6.5
and someone tries to read them, the client just hands and times out.  Messages posted with
Outlook express work perfectly fine.
> This is only an issue if there is a message body.  If the message consist of only the
subject, then it doesn't seem to cause any problems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message