non-ssl: return 0 on pending
authorAndy Green <andy@warmcat.com>
Wed, 3 May 2017 13:28:26 +0000 (21:28 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 3 May 2017 13:28:26 +0000 (21:28 +0800)
https://github.com/warmcat/libwebsockets/issues/887

lib/output.c

index 461f314..727c423 100644 (file)
@@ -813,5 +813,5 @@ LWS_VISIBLE int
 lws_ssl_pending_no_ssl(struct lws *wsi)
 {
        (void)wsi;
-       return 1;
+       return 0;
 }