jira-importer opened a new issue, #1211:
URL: https://github.com/apache/httpcomponents-core/issues/1211

   **[Lubos 
Husivarga](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER282837)**
 opened 
**[HTTPCORE-708](https://issues.apache.org/jira/browse/HTTPCORE-708?redirect=false)**
 and commented
   
   I am experiencing BufferOverflowException when GETting file from URL. The 
issue can be easily reproduced using [AsyncClientHttpExchange 
example](https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java)
 and this image URL: 
   
https://burst.shopifycdn.com/photos/centered-car-driving-through-forest.jpg?width=1442&format=pjpg&exif=0&iptc=0
    
   stacktrace:
   Caused by: java.nio.BufferOverflowException
       at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:213)
       at 
org.apache.hc.core5.http2.impl.nio.FrameInputBuffer.put(FrameInputBuffer.java:89)
       at 
org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.onInput(AbstractH2StreamMultiplexer.java:437)
       at 
org.apache.hc.core5.http2.impl.nio.AbstractH2IOEventHandler.inputReady(AbstractH2IOEventHandler.java:65)
       at 
org.apache.hc.core5.http2.impl.nio.ClientH2IOEventHandler.inputReady(ClientH2IOEventHandler.java:39)
       at 
org.apache.hc.core5.reactor.ssl.SSLIOSession.decryptData(SSLIOSession.java:594)
       at 
org.apache.hc.core5.reactor.ssl.SSLIOSession.access$200(SSLIOSession.java:73)
       at 
org.apache.hc.core5.reactor.ssl.SSLIOSession$1.inputReady(SSLIOSession.java:201)
       at 
org.apache.hc.core5.reactor.InternalDataChannel.onIOEvent(InternalDataChannel.java:140)
       at 
org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalChannel.java:51)
       at 
org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:178)
       at 
org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:127)
       at 
org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:85)
       at 
org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44)
       at java.lang.Thread.run(Thread.java:748)
    
   Debug Log using categories: [^BufferOverflowException.txt]
   log4j.category.org.apache.hc.client5.http2=debug
   log4j.category.org.apache.hc.client5.http2.frame=debug
   log4j.category.org.apache.hc.client5.http2.frame.payload=debug
    
   Thank you for any idea!
   
   
   ---
   
   **Affects:** 5.2-alpha1
   
   **Attachments:**
   - 
[BufferOverflowException.txt](https://issues.apache.org/jira/secure/attachment/13040345/BufferOverflowException.txt)
 (_78.81 kB_)
   
   **Backported to:** 
[5.1.4](https://github.com/apache/httpcomponents-core/milestone/76?closed=1)
   


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

Reply via email to