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.8.2.1,1.8.2


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

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

Modified Files:
      Tag: Version-0_9_14-branch
        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.8.2.1
retrieving revision 1.8.2.2
diff -C2 -r1.8.2.1 -r1.8.2.2
*** class.network.inc.php       15 Apr 2002 02:26:14 -0000      1.8.2.1
--- class.network.inc.php       13 May 2002 23:40:46 -0000      1.8.2.2
***************
*** 79,82 ****
--- 79,83 ----
                        {
                                $this->socket = 
fsockopen($server,$port,$errcode,$errmsg,$timeout);
+                               socket_set_timeout($this->socket,$timeout,0);
                        }
                        else
***************
*** 188,192 ****
                                if ($this->open_port($server,80, 15))
                                {
!                                       if (! $this->write_port('GET http://' . 
$server . $file . ' HTTP/1.0'."\n\n"))
                                        {
                                                return False;
--- 189,193 ----
                                if ($this->open_port($server,80, 15))
                                {
!                                       if (! $this->write_port('GET http://' . 
$server . $file . ' HTTP/1.0'."\r\n\r\n"))
                                        {
                                                return False;
***************
*** 214,218 ****
                                if ($this->open_port($server, 80, 15))
                                {
!                                       if (!$this->write_port('GET '.$file.' 
HTTP/1.0'."\n".'Host: '.$server."\n\n"))
                                        {
                                                return 0;
--- 215,219 ----
                                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]