console: terminate connection on certain bad requests.
This is a back-port of https://android-review.googlesource.com/#/c/108762/
to our milestone branch.
console: terminate connection on certain bad requests.
This patch ensures that the console terminates a connection when
it detects that an HTTP request was entered as a command, or that
the command contains an invalid UTF-8 sequence.
BUG=17584992
Change-Id: Ib50f003415cedf1bfc20cc50703f736c5def0461
(cherry picked from commit de2bc2a3a3d4342d91893841bf202116236c7643)
14 files changed