You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2023/04/17 08:49:26 UTC

[james-project] branch master updated: Revert "[ENHANCEMENT] NettyStreamImapRequestLineReader: Buffer command parsing" (#1521)

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new d73f654e5f Revert "[ENHANCEMENT] NettyStreamImapRequestLineReader: Buffer command parsing" (#1521)
d73f654e5f is described below

commit d73f654e5f2e99e3d24ecad628a53daceb59fd66
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Mon Apr 17 15:49:20 2023 +0700

    Revert "[ENHANCEMENT] NettyStreamImapRequestLineReader: Buffer command parsing" (#1521)
    
    This reverts commit f71681a87c491fda6a47db6949a5c2e7043303af.
---
 .../james/imapserver/netty/NettyStreamImapRequestLineReader.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/NettyStreamImapRequestLineReader.java b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/NettyStreamImapRequestLineReader.java
index 67f922c7c4..a5b189dab5 100644
--- a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/NettyStreamImapRequestLineReader.java
+++ b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/NettyStreamImapRequestLineReader.java
@@ -30,7 +30,6 @@ import org.apache.james.imap.api.display.HumanReadableText;
 import org.apache.james.imap.decode.DecodingException;
 import org.apache.james.imap.message.Literal;
 import org.apache.james.imap.utils.EolInputStream;
-import org.apache.james.util.io.UnsynchronizedBufferedInputStream;
 
 import com.github.fge.lambdas.Throwing;
 import com.google.common.io.ByteStreams;
@@ -88,7 +87,7 @@ public class NettyStreamImapRequestLineReader extends AbstractNettyImapRequestLi
         super(channel, retry);
         this.backingFile = file;
         try {
-            this.in = new CountingInputStream(new UnsynchronizedBufferedInputStream(new FileInputStream(file)));
+            this.in = new CountingInputStream(new FileInputStream(file));
         } catch (FileNotFoundException e) {
             throw new RuntimeException(e);
         }


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