Introducing websocket support in router and libunit.
This commit is contained in:
@@ -138,6 +138,13 @@ struct nxt_app_s {
|
||||
};
|
||||
|
||||
|
||||
typedef struct {
|
||||
size_t max_frame_size;
|
||||
nxt_msec_t read_timeout;
|
||||
nxt_msec_t keepalive_interval;
|
||||
} nxt_websocket_conf_t;
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint32_t count;
|
||||
nxt_queue_link_t link;
|
||||
@@ -164,6 +171,8 @@ typedef struct {
|
||||
nxt_msec_t body_read_timeout;
|
||||
nxt_msec_t send_timeout;
|
||||
|
||||
nxt_websocket_conf_t websocket_conf;
|
||||
|
||||
#if (NXT_TLS)
|
||||
nxt_tls_conf_t *tls;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user