summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-04-10 11:26:02 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-04-10 11:36:24 -0400
commit107fa1f2827d281468e2c12b539751a5a68acbe5 (patch)
treee406c728945b459dd4673f811f489ac1f72ab76e
parentb135b4d24d53ac812ccda054fc75e4ef79b9a88b (diff)
downloadlighttpd1.4-107fa1f2827d281468e2c12b539751a5a68acbe5.zip
lighttpd1.4-107fa1f2827d281468e2c12b539751a5a68acbe5.tar.gz
[mod_wstunnel] fix ping-interval for big-endian (fixes #2944)
fix wstunnel.ping-interval for big-endian architectures (thx ste_p_james) x-ref: "[patch] wstunnel.ping-interval ineffective" https://redmine.lighttpd.net/issues/2944
-rw-r--r--src/mod_wstunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_wstunnel.c b/src/mod_wstunnel.c
index 238791a..ba3ddc1 100644
--- a/src/mod_wstunnel.c
+++ b/src/mod_wstunnel.c
@@ -107,7 +107,7 @@ typedef struct {
gw_plugin_config gw;
buffer *frame_type;
array *origins;
- unsigned int ping_interval;
+ unsigned short int ping_interval;
} plugin_config;
typedef struct plugin_data {