Commit 3fd971f1 authored by Simon Morlat's avatar Simon Morlat
Browse files

change channel's size of output buffer

parent e240481b
......@@ -1007,7 +1007,7 @@ static void check_content_length(belle_sip_message_t *msg, size_t body_len){
}
static void _send_message(belle_sip_channel_t *obj){
char buffer[belle_sip_network_buffer_size];
char buffer[belle_sip_send_network_buffer_size];
size_t len=0;
belle_sip_error_code error=BELLE_SIP_OK;
belle_sip_message_t *msg=obj->cur_out_message;
......
......@@ -31,6 +31,7 @@ unsigned int belle_sip_begin_background_task(const char *name, belle_sip_backgro
void belle_sip_end_background_task(unsigned int id);
#define belle_sip_network_buffer_size 65535
#define belle_sip_send_network_buffer_size 16384
typedef enum belle_sip_channel_state{
BELLE_SIP_CHANNEL_INIT,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment