1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-14 13:35:03 -05:00
Commit Graph

12 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
46e7da2166 Get rid of flags member in spdylay_map 2012-10-05 23:41:49 +09:00
Tatsuhiro Tsujikawa
24e932dfa2 Iterative treap implementation
This change implements spdylay_map functions in iterative approach
instead of original recursive approach. The iterative version is
overall faster than recursive one. The traversal function
(spdylay_map_each) is slightly slower but it is not noticeable.
2012-10-05 00:46:03 +09:00
Tatsuhiro Tsujikawa
b8d0b4034c Eliminate malloc in spdylay_map
We use intrusive style pattern in spdylay_stream, which now has
spdylay_map_entry has its first member.
2012-09-12 00:13:02 +09:00
Tatsuhiro Tsujikawa
3be09efbde Fixed the bug that erase_rotate_recur() erases parent node. 2012-05-19 00:49:15 +09:00
Tatsuhiro Tsujikawa
9b619e5dd7 Bring back deferred DATA to the outbound queue when SETTINGS with
INITIAL_WINDOW_SIZE is received and the window size becomes positive.
2012-05-11 23:01:40 +09:00
Tatsuhiro Tsujikawa
c89fc13c80 Fixed segmentation fault in out of memory situation 2012-04-06 23:35:30 +09:00
Tatsuhiro Tsujikawa
82e20192d8 Added functions to process received SETTINGS frame.
Now remote and local settings are stored separately.
The initial window size is included in SETTINGS frame, all active stream's
window sizes are now updated.
Removed the initial_window_size member from spdylay_stream because
it is the same as remote_settings's initial window size.
2012-03-10 00:10:11 +09:00
Tatsuhiro Tsujikawa
9fa8357bbc Made return value of spdylay_map_init() void. Updated doc. 2012-02-21 23:23:47 +09:00
Tatsuhiro Tsujikawa
f642bb98c7 Added spdylay_map_size() 2012-01-26 02:28:58 +09:00
Tatsuhiro Tsujikawa
1ce2598758 Fixed bug that causes segmentation fault when erasing key which does not exist in map. 2012-01-26 00:21:31 +09:00
Tatsuhiro Tsujikawa
09e57a1978 Fixed memory leak 2012-01-20 00:00:37 +09:00
Tatsuhiro Tsujikawa
a03afa6a82 Added spdylay_map. Added missing tests/main.c 2012-01-19 21:36:13 +09:00