mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-10 19:45:05 -05:00
b8700259fd
We use following algorithm to select protocol: 1. If server's list contains "spdy/2", this function selects "spdy/2" and returns 1. The following steps are not taken. 2. If server's list contains "http/1.1", this function selects "http/1.1" and returns 0. The following step is not taken. 3. This function selects "spdy/2" and returns -1. (So called non-overlap case). |
||
---|---|---|
.. | ||
main.c | ||
Makefile.am | ||
spdylay_buffer_test.c | ||
spdylay_buffer_test.h | ||
spdylay_frame_test.c | ||
spdylay_frame_test.h | ||
spdylay_map_test.c | ||
spdylay_map_test.h | ||
spdylay_npn_test.c | ||
spdylay_npn_test.h | ||
spdylay_pq_test.c | ||
spdylay_pq_test.h | ||
spdylay_queue_test.c | ||
spdylay_queue_test.h | ||
spdylay_session_test.c | ||
spdylay_session_test.h | ||
spdylay_stream_test.c | ||
spdylay_stream_test.h | ||
spdylay_zlib_test.c | ||
spdylay_zlib_test.h |