Don't forget to send response to non-WS clients
authorDaniel Kouřil <kouril@ics.muni.cz>
Wed, 8 Jul 2009 15:52:49 +0000 (15:52 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Wed, 8 Jul 2009 15:52:49 +0000 (15:52 +0000)
org.glite.lb.server/src/bkserverd.c

index c28dde2..6c78e9a 100644 (file)
@@ -1422,11 +1422,9 @@ int bk_accept_serve(int conn, struct timeval *timeout, void *cdata)
                return err;
        }
 
-#ifdef GLITE_LB_SERVER_WITH_WS
        if (httpErr == HTTP_BADREQ)
                err = try_accept_ws(conn, timeout, cdata, body, strlen(body) + 1);
-#endif
-       if (err)
+       if (httpErr != HTTP_BADREQ || err)
                edg_wll_DoneHTTP(ctx, resp, hdrOut, bodyOut);
 
        free(resp);