mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ss: fix without server
This commit is contained in:
parent
5c988d7714
commit
c674181136
2 changed files with 3 additions and 1 deletions
|
@ -158,7 +158,7 @@
|
|||
"platforms": "not linux-centos-8/x86_64-amd/gcc"
|
||||
},
|
||||
"noserver": {
|
||||
"cmake": "-DLWS_WITHOUT_SERVER=ON -DLWS_WITH_MINIMAL_EXAMPLES=1"
|
||||
"cmake": "-DLWS_WITHOUT_SERVER=ON -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_WITH_SECURE_STREAMS=1"
|
||||
},
|
||||
"noclient": {
|
||||
"cmake": "-DLWS_WITHOUT_CLIENT=ON -DLWS_WITH_MINIMAL_EXAMPLES=1"
|
||||
|
|
|
@ -892,12 +892,14 @@ lws_ss_destroy(lws_ss_handle_t **ppss)
|
|||
lws_free_set_NULL(h);
|
||||
}
|
||||
|
||||
#if defined(LWS_WITH_SERVER)
|
||||
void
|
||||
lws_ss_server_ack(struct lws_ss_handle *h, int nack)
|
||||
{
|
||||
h->txn_resp = nack;
|
||||
h->txn_resp_set = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
lws_ss_state_return_t
|
||||
lws_ss_request_tx(lws_ss_handle_t *h)
|
||||
|
|
Loading…
Add table
Reference in a new issue