mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
sspc: http map proxying fixes
This commit is contained in:
parent
82fe436fff
commit
64232ddc4c
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ int
|
|||
lws_ss_serialize_state(struct lws_dsh *dsh, lws_ss_constate_t state,
|
||||
lws_ss_tx_ordinal_t ack)
|
||||
{
|
||||
uint8_t pre[8];
|
||||
uint8_t pre[12];
|
||||
int n = 4;
|
||||
|
||||
lwsl_info("%s: %s, ord 0x%x\n", __func__, lws_ss_state_name(state),
|
||||
|
@ -273,7 +273,7 @@ lws_ss_serialize_state(struct lws_dsh *dsh, lws_ss_constate_t state,
|
|||
|
||||
if (state > 255) {
|
||||
pre[2] = 8;
|
||||
lws_ser_wu32be(&pre[3], ack);
|
||||
lws_ser_wu32be(&pre[3], state);
|
||||
n = 7;
|
||||
} else {
|
||||
pre[2] = 5;
|
||||
|
|
Loading…
Add table
Reference in a new issue