Project

General

Profile

Actions

Bug #3012

closed

lighttpd-1.4.51 have issue givining an error:- (request.c.400) missing CR before LF in header -> 400

Added by amit1.kr almost 4 years ago. Updated almost 4 years ago.

Status:
Invalid
Priority:
Low
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

I recently moved my lighttpd-1.4.39 to lighttpd-1.4.51. Server working fine lighttpd-1.4.39 but lighttpd-1.4.51 giving error missing CR before LF in header > 400. I am not able to diagnose this issue. Please share patch if any. Error logs:

(connections.c.1860) state at exit: 16 read
In the function connection_handle_read_state()
Found_header_end
Calling from joblist
(connections.c.1584) state at start 17 req-end
(connections.c.1594) state for fd 17 req-end
In the function connection_state_machine(), state :: 3
(request.c.581) fd: 17 request-len: 80 \n\x16\x03\x01\x00\xc3\x01\x00\x00\xbf\x03\x03\xbe\x89\xfc\x1e\x19\xb7\x10\xdd\x9d\xdd$ }h\xce\x06e\xd4\xb7\x00\x97;\x03\9.fJI\r\xf9\x1e\x00\x00\x1c\xda\xda\xc0+\xc0/\xc0,\xc00\xcc\xa9\xcc\xa8\xc0\x13\xc0\x14\x00\x9c\x00\x9d\x00/\x005\x00\n\x01\x00\x00z\n\n
(request.c.400) missing CR before LF in header -> 400
(request.c.401) request-header:\n\x16\x03\x01\x00\xc3\x01\x00\x00\xbf\x03\x03\xbe\x89\xfc\x1e\x19\xb7\x10\xdd\x9d\xdd$ }h\xce\x06e\xd4\xb7\x00\x97;\x03\9.fJI\r\xf9\x1e\x00\x00\x1c\xda\xda\xc0+\xc0/\xc0,\xc00\xcc\xa9\xcc\xa8\xc0\x13\xc0\x14\x00\x9c\x00\x9d\x00/\x005\x00\n\x01\x00\x00z\n\n
(connections.c.1594) state for fd 17 handle-req
In the function connection_state_machine(), state :: 5
(connections.c.1594) state for fd 17 resp-start
In the function connection_state_machine(), state :: 6
(response.c.117) Response-Header: \nHTTP/1.0 400 Bad Request\r\nContent-Type: text/html\r\nContent-Length: 345\r\nConnection: close\r\nDate: Wed, 06 May 2020 10:23:16 GMT\r\nServer: WebServer\r\n\r\n
(connections.c.1594) state for fd 17 write
In the function connection_state_machine(), state :: 7
Actions #1

Updated by gstrauss almost 4 years ago

  • Category deleted (core)
  • Status changed from New to Invalid
  • Priority changed from Normal to Low
  • Target version deleted (1.4.x)

The latest version of lighttpd is lighttpd 1.4.55, released over 3 months ago.
lighttpd 1.4.51 was released over a year and a half ago.

Please use the latest version of lighttpd and read the lighttpd documentation before posting.
https://redmine.lighttpd.net/projects/lighttpd/wiki

If you have questions, you may post to the forums. See the Forums tab at the top of the page.

Actions #2

Updated by gstrauss almost 4 years ago

You probably failed to configure TLS properly. The data you provided does not show an ASCII HTTP request.

Actions

Also available in: Atom