mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-10 21:24:03 -05:00
logging
This commit is contained in:
parent
7e790c0161
commit
91951ca5a1
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ let parse_req_start ~client_addr ~get_time_s ~buf (bs : IO.Input.t) :
|
||||||
unit t option resp_result =
|
unit t option resp_result =
|
||||||
try
|
try
|
||||||
let line = IO.Input.read_line_using ~buf bs in
|
let line = IO.Input.read_line_using ~buf bs in
|
||||||
|
Log.debug (fun k -> k "parse request line: %s" line);
|
||||||
let start_time = get_time_s () in
|
let start_time = get_time_s () in
|
||||||
let meth, path, version =
|
let meth, path, version =
|
||||||
try
|
try
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue