[openssl-users] Sudden control data sent during large transfer.
d3ck0r at gmail.com
Sat Dec 23 03:06:13 UTC 2017
How can I know what/why openssl is sending control data?
I have this Node addon that uses TLS 1.2 to communicate. I'm sending a
large file transfer (100M), which is chunked into 8100 byte blocks and sent
on websocket protocol. It's additionally chunked into 4327 byte blocks
(which after encoding is 4356 bytes or 1452*3) All of the data is encoded
into blocks and queued to transfer before I have a problem.
After some amount of data transfer OpenSSL starts sending 31 byte control
packets after basically each block received... when the other side receives
that data it doesn't do anything, but the ssl layer does stop giving me
completed packets (instead opting to generate 31 byte packets) when the
other side receives those, it doesn't do anything.... (doesn't generate
control sends back).
Ad I mentioned all of the pendijng data is already queued to send, so even
if I received a control packet and it generated a response it wouldn't get
received for quite some time.
I don't have control over what version of SSL is being used... but this
current test is 1.0.1m
It's variable by the time it starts sending 31 byte packets... Also depends
on the connection; although at this time I'm able to generate the problem
on localhost... I was able to transfer from a remote server to myself with
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openssl-users