Additional debuginfo on websocket upgrade
As mentioned in #226 there is some issue with newer glib versions. Add the dump of our request for websocket upgrade to see if that'll make things clearer. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
068ed17a75
commit
eb768b4a81
|
@ -360,6 +360,8 @@ static gboolean discord_ws_connected_cb(gpointer data, int retcode,
|
|||
|
||||
g_free(bkey);
|
||||
|
||||
discord_debug(">>> (%s) %s %"G_GSIZE_FORMAT"\n%s\n", dd->uname, __func__, req->len, req->str);
|
||||
|
||||
dd->sslfd = ssl_getfd(source);
|
||||
dd->inpa = b_input_add(dd->sslfd, B_EV_IO_READ, discord_ws_in_cb, ic);
|
||||
ssl_write(dd->ssl, req->str, req->len);
|
||||
|
|
Loading…
Reference in New Issue