[Libwebsockets] [libwebsockets] #43: libwebsocket_write returns -1

Trac trac at libwebsockets.org
Fri Oct 25 21:55:14 CEST 2013


#43: libwebsocket_write returns -1
-------------------------------------+-------------------
  Reporter:  jdnevarez               |      Owner:
      Type:  task                    |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:  write
-------------------------------------+-------------------

Comment (by jdnevarez):

 Setting up max frame size to a bigger number fixed the issue.
 static struct libwebsocket_protocols protocols[] = {
         {
                 "default",                              /* name */
                 callback_service,                       /* callback */
                 sizeof(struct per_session_data_tun),    /*
 per_session_data_size */
                 104000,                                 /* max frame size
 */

         },
         {
                 NULL, NULL, 0,0                         /* End of list */
         }
 };

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/43#comment:2>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list