<Why is this causing a connection reset?> I'm expe...
# stackoverflow
u
Why is this causing a connection reset? I'm experimenting with a simple HTTP server here in Kotlin in order to try and reproduce a more complex problem where content seems to get cut off if it's one byte above a certain number which causes a net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK) error in browsers. That number depends whether it's deployed locally or on AWS or running on AWS. In the following example, I start a simple blocking HTTP server which prints out 50,000 hashes in the browser without any problems. fun main() { val...