Changeset 4349


Ignore:
Timestamp:
Feb 14, 2013 9:38:31 AM (6 years ago)
Author:
nanang
Message:

Close #1618: Fixed SSL socket to check for async sending operation error.

File:
1 edited

Legend:

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

    r4249 r4349  
    15521552        if (ssock->param.cb.on_data_sent) { 
    15531553            pj_bool_t ret; 
     1554            pj_ssize_t sent_len; 
     1555 
     1556            sent_len = (sent > 0)? wdata->plain_data_len : sent; 
    15541557            ret = (*ssock->param.cb.on_data_sent)(ssock, wdata->app_key,  
    1555                                                   wdata->plain_data_len); 
     1558                                                  sent_len); 
    15561559            if (!ret) { 
    15571560                /* We've been destroyed */ 
Note: See TracChangeset for help on using the changeset viewer.