phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.network.inc.php,1.10,1.11


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.network.inc.php,1.10,1.11
Date: Mon, 13 May 2002 19:40:58 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv19209/phpgwapi/inc

Modified Files:
        class.network.inc.php 
Log Message:
GNU Patch #301.

Index: class.network.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.network.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.network.inc.php       15 Apr 2002 02:26:21 -0000      1.10
--- class.network.inc.php       13 May 2002 23:40:56 -0000      1.11
***************
*** 79,82 ****
--- 79,83 ----
                        {
                                $this->socket = 
fsockopen($server,$port,$errcode,$errmsg,$timeout);
+                               socket_set_timeout($this->socket,$timeout,0);
                        }
                        else
***************
*** 193,197 ****
                                if ($this->open_port($server,80, 15))
                                {
!                                       if(!$this->write_port('GET http://' . 
$server . $file . ' HTTP/1.0'."\n\n"))
                                        {
                                                return False;
--- 194,198 ----
                                if ($this->open_port($server,80, 15))
                                {
!                                       if(!$this->write_port('GET http://' . 
$server . $file . ' HTTP/1.0'."\r\n\r\n"))
                                        {
                                                return False;
***************
*** 228,232 ****
                                if($this->open_port($server, 80, 15))
                                {
!                                       if(!$this->write_port('GET '.$file.' 
HTTP/1.0'."\n".'Host: '.$server."\n\n"))
                                        {
                                                return 0;
--- 229,233 ----
                                if($this->open_port($server, 80, 15))
                                {
!                                       if(!$this->write_port('GET '.$file.' 
HTTP/1.0'."\n".'Host: '.$server."\r\n\r\n"))
                                        {
                                                return 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]