jira-importer opened a new issue, #1529: URL: https://github.com/apache/httpcomponents-core/issues/1529
**[Steffen Pingel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=spingel)** opened **[HTTPCORE-80](https://issues.apache.org/jira/browse/HTTPCORE-80?redirect=false)** and commented This example triggers the exception: String s1 = "abcde"; SessionOutputBuffer outbuf = new SessionOutputBuffer(1024, 5); outbuf.writeLine(s1); Stack trace: java.lang.IllegalStateException: Current state = CODING, new state = FLUSHED at java.nio.charset.CharsetEncoder.throwIllegalStateException(Unknown Source) at java.nio.charset.CharsetEncoder.flush(Unknown Source) at org.apache.http.impl.nio.reactor.SessionOutputBuffer.writeLine(SessionOutputBuffer.java:151) at org.apache.http.impl.nio.DefaultNHttpServerConnection.submitResponse(DefaultNHttpServerConnection.java:184) [...] --- **Affects:** 4.0-alpha4 **Attachments:** - [httpcore-set-eol-flag.patch](https://issues.apache.org/jira/secure/attachment/12359429/httpcore-set-eol-flag.patch) (_1.34 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
