aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/internal.h')
-rw-r--r--src/microspdy/internal.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/microspdy/internal.h b/src/microspdy/internal.h
index 74281577..a7aec14f 100644
--- a/src/microspdy/internal.h
+++ b/src/microspdy/internal.h
@@ -28,14 +28,24 @@
28#include "platform.h" 28#include "platform.h"
29#include "microspdy.h" 29#include "microspdy.h"
30 30
31/* size of read buffers for each connection 31/**
32 * must be at least the size of SPDY_MAX_SUPPORTED_FRAME_SIZE */ 32 * size of read buffers for each connection
33 * must be at least the size of SPDY_MAX_SUPPORTED_FRAME_SIZE
34 */
33#define SPDYF_BUFFER_SIZE 8192 35#define SPDYF_BUFFER_SIZE 8192
34 36
35/* number of frames written to the socket at once. After X frames 37/**
38 * initial size of window for each stream (this is for the data
39 * within data frames that can be handled)
40 */
41#define SPDYF_INITIAL_WINDOW_SIZE 65536
42
43/**
44 * number of frames written to the socket at once. After X frames
36 * everything should be run again. In this way the application can 45 * everything should be run again. In this way the application can
37 * response to more important requests while a big file is still 46 * response to more important requests while a big file is still
38 * being transmitted to the client */ 47 * being transmitted to the client
48 */
39#define SPDYF_NUM_SENT_FRAMES_AT_ONCE 10 49#define SPDYF_NUM_SENT_FRAMES_AT_ONCE 10
40 50
41 51