-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket reads with SSL delegate recv failing on osx and linux #22
Comments
Inside BlueSocket there is an internal buffer which I believe by default is 4K in size. |
This issue can be replicated on linux and osx using the BlueSSLService_22 branch of Kitura by running |
na-gupta
pushed a commit
to Kitura/Kitura
that referenced
this issue
Mar 24, 2017
3 tasks
This is fixed in v0.12.39 of BlueSocket. |
shmuelk
pushed a commit
to Kitura/Kitura
that referenced
this issue
Mar 28, 2017
* Kitura/BlueSSLService#22 Test large gets and posts on SSL and non-SSL * Increase timeout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Socket reads with SSL delegate recv() fails on linux and mac depending on the size of the incoming data.
It looks like it has something to do with how errSSLWouldBlock/SSL_ERROR_WANT_* is handled in SSLService recv:
... but in Socket
readDataIntoStorage()
andreadDatagramIntoStorage()
, it appears to be expectingdelegate.recv()
tothrow SSLError.retryNeeded
when this happens.It appears to fails when the data is >= 4096 bytes and
The text was updated successfully, but these errors were encountered: