Changeset 701acdd4 for protocols/proxy.c


Ignore:
Timestamp:
2005-12-16T17:58:00Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
12c6634, 4bfca70
Parents:
c4168f4
Message:

Non-blocking SSL handshakes for GnuTLS. The rest might come later, but is
slightly less important.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/proxy.c

    rc4168f4 r701acdd4  
    133133                return;
    134134        }
    135         fcntl(source, F_SETFL, 0);
    136135#endif
     136        sock_make_blocking(source);
    137137        gaim_input_remove(phb->inpa);
    138138        if( phb->proxy_func )
     
    229229                return;
    230230        }
    231 #ifdef F_SETFL
    232         fcntl(source, F_SETFL, 0);
    233 #endif
     231        sock_make_blocking(source);
    234232
    235233        g_snprintf(cmd, sizeof(cmd), "CONNECT %s:%d HTTP/1.1\r\nHost: %s:%d\r\n", phb->host, phb->port,
     
    322320                return;
    323321        }
    324 #ifdef F_SETFL
    325         fcntl(source, F_SETFL, 0);
    326 #endif
     322        sock_make_blocking(source);
    327323
    328324        /* XXX does socks4 not support host name lookups by the proxy? */
     
    509505                return;
    510506        }
    511 #ifdef F_SETFL
    512         fcntl(source, F_SETFL, 0);
    513 #endif
     507        sock_make_blocking(source);
    514508
    515509        i = 0;
Note: See TracChangeset for help on using the changeset viewer.