Ignore:
Timestamp:
Jan 15, 2018 8:52:29 AM (7 years ago)
Author:
ming
Message:

Re #2082: Initial implementation of GnuTLS support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_common.c

    r5472 r5725  
    3636    param->concurrency = -1; 
    3737    param->whole_data = PJ_TRUE; 
     38#if (PJ_SSL_SOCK_IMP == PJ_SSL_SOCK_IMP_GNUTLS) 
     39    /* GnuTLS is allowed to send bigger chunks.*/ 
     40    param->send_buffer_size = 65536; 
     41#else 
    3842    param->send_buffer_size = 8192; 
     43#endif 
    3944#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 
    4045    param->read_buffer_size = 1500; 
Note: See TracChangeset for help on using the changeset viewer.