fmwviormv / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Allow for TCP messages > 65535 bytes #258

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Our freeswitch server splits outgoing messages into chunks but tinyWrap cannot 
handle the incoming data.  Instead it bails out in 
tsip_transport_layer_stream_cb:

/* Check if buffer is too big to be valid (have we missed some chuncks?) */
        if(TSK_BUFFER_SIZE(peer->rcv_buff_stream) >= TSIP_MAX_STREAM_CHUNCK_SIZE){
                TSK_DEBUG_ERROR("TCP Buffer is too big to be valid");
                tsk_buffer_cleanup(peer->rcv_buff_stream);
        }

Original issue reported on code.google.com by kjeremy@gmail.com on 24 Apr 2013 at 7:55

GoogleCodeExporter commented 9 years ago
"TSIP_MAX_STREAM_CHUNCK_SIZE" is a define and you can set it to any value

Original comment by boss...@yahoo.fr on 23 Apr 2014 at 8:24