OSDN Git Service

Ver.1.5.11: Fixed error on requesting favicon.
authorwatanaby <>
Fri, 27 May 2011 06:24:29 +0000 (06:24 +0000)
committerwatanaby <>
Fri, 27 May 2011 06:24:29 +0000 (06:24 +0000)
opengate/doc/Changes.html
opengate/opengatesrv/watch-client.c

index 4dbb4d9..9ca64e1 100644 (file)
@@ -675,6 +675,10 @@ Opengate History</H3>
        Ver.1.5.10 at 2011.5.25
        </DT><DD>
         Fixed error on needless connections [contributed by S.Horikawa]. 
+       </DD><DT>
+       Ver.1.5.11 at 2011.5.27
+       </DT><DD>
+        Fixed error on requesting favicon [contributed by S.Horikawa]. 
        </DD>
        </DL>
 <P>
index 59a7d06..f5745e0 100644 (file)
@@ -541,8 +541,12 @@ void waitHttpClose(struct clientAddr *pClientAddr, char *userid, char *userPrope
       else{
        
        /* read request and reply not found */
-       ReadHttpHeaders();
-       SendHttpNotFound();
+       if(strstr(buff,"GET /") == buff){
+         ReadHttpHeaders();
+         SendHttpNotFound();
+       }
+       connectMode=ENDCONNECT;
+       Close(connfd);
       }
     }
     else{