Oxy with fixes on websocket + integration tests

This commit is contained in:
SALLEYRON Julien 2017-08-01 15:24:08 +02:00 committed by Ludovic Fernandez
parent 1db9482a8e
commit 1b4dc3783c
14 changed files with 1463 additions and 31 deletions

View file

@ -111,14 +111,14 @@ func nextTokenOrQuoted(s string) (value string, rest string) {
case escape:
escape = false
p[j] = b
j += 1
j++
case b == '\\':
escape = true
case b == '"':
return string(p[:j]), s[i+1:]
default:
p[j] = b
j += 1
j++
}
}
return "", ""