ngrok / ngrok-java

Embed ngrok secure ingress into your Java apps with a single line of code.
Other
27 stars 8 forks source link

Allow overriding of connection socket buffer size #3

Closed markrekveld closed 1 year ago

markrekveld commented 1 year ago

The fixed buffer size of 1024 can cause java.nio.BufferOverflowException errors. This PR adds the ability to override the default buffer size.

nikolay-ngrok commented 1 year ago

I believe #7 should address this a little bit nicer and we should close this out. Lemme know if you still think we should provide this option.

markrekveld commented 1 year ago

looks like a plan to me