Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CSTP connection in a single SSL record
By creating a buffer with the request and sending it in a single SSL record, I roughly halve the amount of time it takes for the round trip from 215ms to 116ms. Introduce a buf_append() function to help with processing the buffer, since I shouldn't just be using sprintf() like other places do. Will fix those next... Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
May 30, 2012
1 parent
4f80d92
commit 7d974cd
Showing
2 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters