1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: fix body appending (missing closing json bracket)

This commit is contained in:
Delyan Angelov 2020-08-13 21:07:26 +03:00
parent 64e8125807
commit a62307f711

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
}