Skip to content
Snippets Groups Projects
Commit 64ea98f1 authored by Andy Green's avatar Andy Green
Browse files

issue_raw: translate transaction_completed decision about close into local semantics

parent 000d2d20
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,8 @@ int lws_issue_raw(struct lws *wsi, unsigned char *buf, size_t len) ...@@ -156,7 +156,8 @@ int lws_issue_raw(struct lws *wsi, unsigned char *buf, size_t len)
"deferred transaction completed\n", "deferred transaction completed\n",
__func__); __func__);
wsi->http.deferred_transaction_completed = 0; wsi->http.deferred_transaction_completed = 0;
return lws_http_transaction_completed(wsi); return lws_http_transaction_completed(wsi) ?
-1 : (int)real_len;
} }
#endif #endif
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment