Diff for /libwww/Library/src/HTTCP.c between versions 2.106 and 2.107

version 2.106, 1998/02/07 23:59:25 version 2.107, 1998/03/20 17:53:06
Line 186  PUBLIC int HTDoConnect (HTNet * net, cha Line 186  PUBLIC int HTDoConnect (HTNet * net, cha
     char * hostname = HTHost_name(me);      char * hostname = HTHost_name(me);
   
     /* Jump into the state machine */      /* Jump into the state machine */
     if (!me) {  
         char * proxy = HTRequest_proxy(request);  
         HTProtocol * protocol = HTNet_protocol(net);  
   
         /* Check to see whether we connect directly or via a proxy */  
         if ((me = HTHost_newWParse(request, proxy ? proxy : url,   
                                    HTProtocol_id(protocol))) == NULL)  
             return NO;  
   
         net->host = me;  
     }  
     while (1) {      while (1) {
         switch (me->tcpstate) {          switch (me->tcpstate) {
           case TCP_BEGIN:            case TCP_BEGIN:

Removed from v.2.106  
changed lines
  Added in v.2.107


Webmaster