fsecure-kilkanen commented on issue #11758:
URL: 
https://github.com/apache/trafficserver/issues/11758#issuecomment-2470074198

   I have some questions about the implementation.
   
   What is the reason for switching OpenSSL to read from the socket after 
reading first packet?
   
   My plan is to check the length of handshake from TLS client hello header, 
and then compare that to amount of data that was read. If the whole handshake 
was not read, then further read of handshake needs to be triggered.
   
   How do I properly trigger a second read at this point using the async event 
system in ATS?
   
   The handshake data is read into IOBufferBlock:
   
   IOBufferBlock *b = this->handShakeBuffer->first_write_block();
   
   If I do a second read to this IOBufferBlock, will the data be stored in 
continuous memory block? So that when I get `this->handShakeBuffer->start()` 
and `this->handShakeBuffer->end()`, it will have the full handshake data 
without any extra data?
   
   Thanks for the assistance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to