mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
http: compression: fix selection
https://github.com/warmcat/libwebsockets/issues/2633
This commit is contained in:
parent
e86490fc45
commit
5d56f7651f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ lws_http_compression_apply(struct lws *wsi, const char *name,
|
|||
|
||||
for (n = 0; n < LWS_ARRAY_SIZE(lcs_available); n++) {
|
||||
/* if name is non-NULL, choose only that compression method */
|
||||
if (name && !strcmp(lcs_available[n]->encoding_name, name))
|
||||
if (name && strcmp(lcs_available[n]->encoding_name, name))
|
||||
continue;
|
||||
/*
|
||||
* If we're the server, confirm that the client told us he could
|
||||
|
|
Loading…
Add table
Reference in a new issue