if its a multiline query, truncate after the first line

This commit is contained in:
Love Hornquist Astrand
2010-06-29 11:37:44 -07:00
parent 4a6a9d026b
commit a36f3c7d2a

View File

@@ -665,6 +665,11 @@ handle_http_tcp (krb5_context context,
s = (char *)d->buf;
p = strstr(s, "\r\n");
if (p)
*p = 0;
p = NULL;
t = strtok_r(s, " \t", &p);
if (t == NULL) {