Open przemekr opened 8 years ago
Hi,
Sorry to hear about the error. It sounds like it's probably an error of the library, but I don't have a dev machine available at the moment. I'll do what I can to triage this, but it'll probably be a week away. Sorry for the delay.
No problem, thanks for the replay. Let me know if you would need any more logs, network capture etc.
Hi,
I made just a slight modification on the example server and client. The client starts number of concurrent function each keep sending requests at given rate, the server replies with one 1KB of random data.
At 10x concurrent functions each making 1000 request /s there are errors reported:
(spdy) 2016/02/01 22:16:58 error_handling.go:18: Error: Received SYN_REPLY with unopened or closed Stream ID 15065. (spdy) 2016/02/01 22:16:58 io.go:19: Encountered receive error: runtime error: invalid memory address or nil pointer dereference (runtime.errorString)
Not sure, if it is a bug in the protocol implementation or my client/server share some data between concurrent functions that should not be shared.
Attaching full log and my updated code.
git log -1 commit 431b911c621782fff951b92948f9ce38633188f0
(github, didn't accept .zip file so I rename to txt) spdy_go_test.zip.txt