[Vortex] PATCH: Implemented vortex_channel_set_window_size

Jens Alfke jens at mooseyard.com
Tue Apr 22 20:05:18 CEST 2008


This patch adds a new API function that lets the client change the  
BEEP window size used when a channel receives data:

void vortex_channel_set_window_size (VortexChannel * channel, int  
desired_size);

It also fixes a bug that caused larger window sizes to cause Vortex to  
drop the connection (if incomplete SSL cipher blocks were received.)

Larger window sizes are still a big problematic, as on the sending  
side, Vortex still tries to fill the entire window at once; so a large  
frame sent through a large window will monopolize the whole socket for  
up to (window_size / byte_rate) seconds. However, this does at least  
reduce the bottlenecks in sending data, allowing more of the socket's  
bandwidth to be used.

—Jens

PS: Patch is relative to SVN-3394 (yesterday's top-of-tree.)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: jens_setframesize.patch
Type: application/octet-stream
Size: 5714 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/vortex/attachments/20080422/1a9dc6cd/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1875 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/vortex/attachments/20080422/1a9dc6cd/attachment.bin 


More information about the Vortex mailing list