mirror of
https://github.com/lloeki/nanoserve.git
synced 2025-12-06 03:04:39 +01:00
Accumulate in buffer only for debug output
This commit is contained in:
parent
c3a69ac1ed
commit
803d910a3e
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ module NanoServe
|
|||
line = conn.readline
|
||||
break if line.chomp == ''
|
||||
req << line
|
||||
buf << line
|
||||
buf << line if logger.debug?
|
||||
end
|
||||
logger.debug "request:\n" + buf.gsub(/^/, ' ')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue