From d6574466bd9aeab917edffa17dbc69bdf913c86a Mon Sep 17 00:00:00 2001 From: Tomasz Sawicki Date: Tue, 11 Apr 2017 10:55:44 +0200 Subject: [PATCH] Fix HTTP_CRLF const reference --- src/JAXL/http/http_server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JAXL/http/http_server.php b/src/JAXL/http/http_server.php index a50a3d11..ffb831c8 100644 --- a/src/JAXL/http/http_server.php +++ b/src/JAXL/http/http_server.php @@ -138,7 +138,7 @@ public function on_request($sock, $raw) $request->body($raw); } else { // break on crlf - $lines = explode(HTTP_CRLF, $raw); + $lines = explode(self::HTTP_CRLF, $raw); // parse request line if ($request->state() == 'wait_for_request_line') {