diff options
author | Italo Guerrieri <guerital@amazon.it> | 2017-12-28 12:12:20 +0100 |
---|---|---|
committer | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2018-01-10 22:11:39 +0100 |
commit | 910d67c7b61837d70a553816111664014799fab9 (patch) | |
tree | 4fa34532c2c0ab20e280a482d2e15db4a9ce8c10 | |
parent | 03c600632656500723cabeaa7d188a1c1a31f525 (diff) | |
download | libsoup-910d67c7b61837d70a553816111664014799fab9.tar.gz |
Fix payload close
Pass the close payload to the function send_message in order to
check if the payload if bigger than 125 octect
Fix Autobahn test case 7.3.6.
https://bugzilla.gnome.org/show_bug.cgi?id=792113
-rw-r--r-- | libsoup/soup-websocket-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c index 25a87b55..6408903d 100644 --- a/libsoup/soup-websocket-connection.c +++ b/libsoup/soup-websocket-connection.c @@ -627,7 +627,7 @@ receive_close (SoupWebsocketConnection *self, if (pv->connection_type == SOUP_WEBSOCKET_CONNECTION_SERVER) close_io_stream (self); } else { - close_connection (self, pv->peer_close_code, NULL); + close_connection (self, pv->peer_close_code, pv->peer_close_data); } } |