james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-992) Limit max line length for protocol when using Netty
Date Sun, 01 Oct 2017 15:57:03 GMT

    [ https://issues.apache.org/jira/browse/JAMES-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187452#comment-16187452
] 

ASF GitHub Bot commented on JAMES-992:
--------------------------------------

Github user chibenwa commented on a diff in the pull request:

    https://github.com/apache/james-project/pull/73#discussion_r142033152
  
    --- Diff: mailet/standard/src/test/java/org/apache/james/transport/matchers/HasMimeTypeTest.java
---
    @@ -0,0 +1,60 @@
    +package org.apache.james.transport.matchers;
    +
    +import org.apache.james.core.MailAddress;
    +import org.apache.mailet.base.test.FakeMail;
    +import org.apache.mailet.base.test.FakeMatcherConfig;
    +import org.apache.mailet.base.test.MimeMessageBuilder;
    +import org.junit.Before;
    +import org.junit.Test;
    +
    +import javax.mail.internet.MimeMessage;
    +
    +import static org.junit.Assert.assertNotNull;
    +
    +public class HasMimeTypeTest {
    +
    +    private HasMimeType matcher;
    +    private final String RECIPIENT = "test@james.apache.org";
    --- End diff --
    
    You can add the static modifier here for these constants.


> Limit max line length for protocol when using Netty
> ---------------------------------------------------
>
>                 Key: JAMES-992
>                 URL: https://issues.apache.org/jira/browse/JAMES-992
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Norman Maurer
>             Fix For: 3.0-M1
>
>
> We should limit the max characters per line so nobody can cause OOM when doing a DOS
attach



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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