vweb: fix body appending (missing closing json bracket)

pull/6129/head
Delyan Angelov 2020-08-13 21:07:26 +03:00
parent 64e8125807
commit a62307f711
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ fn handle_conn<T>(conn net.Socket, mut app T) {
//println('GOT CL=$len')
}
} else {
body += line
body += line.trim_left('\r\n')
if body.len >= len {
break
}