fix the problem http request with '\0' and fixx query string in url

Fork of mbed-http by sandbox

Committer:
ihere1
Date:
Fri Mar 03 10:51:56 2017 +0000
Revision:
10:ec9b75c349aa
Parent:
0:910f5949759f
fix the problem http request with '\0' and fix query string in url

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jan Jongboom 0:910f5949759f 1 http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright
Jan Jongboom 0:910f5949759f 2 Igor Sysoev.
Jan Jongboom 0:910f5949759f 3
Jan Jongboom 0:910f5949759f 4 Additional changes are licensed under the same terms as NGINX and
Jan Jongboom 0:910f5949759f 5 copyright Joyent, Inc. and other Node contributors. All rights reserved.
Jan Jongboom 0:910f5949759f 6
Jan Jongboom 0:910f5949759f 7 Permission is hereby granted, free of charge, to any person obtaining a copy
Jan Jongboom 0:910f5949759f 8 of this software and associated documentation files (the "Software"), to
Jan Jongboom 0:910f5949759f 9 deal in the Software without restriction, including without limitation the
Jan Jongboom 0:910f5949759f 10 rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
Jan Jongboom 0:910f5949759f 11 sell copies of the Software, and to permit persons to whom the Software is
Jan Jongboom 0:910f5949759f 12 furnished to do so, subject to the following conditions:
Jan Jongboom 0:910f5949759f 13
Jan Jongboom 0:910f5949759f 14 The above copyright notice and this permission notice shall be included in
Jan Jongboom 0:910f5949759f 15 all copies or substantial portions of the Software.
Jan Jongboom 0:910f5949759f 16
Jan Jongboom 0:910f5949759f 17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Jan Jongboom 0:910f5949759f 18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Jan Jongboom 0:910f5949759f 19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Jan Jongboom 0:910f5949759f 20 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Jan Jongboom 0:910f5949759f 21 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Jan Jongboom 0:910f5949759f 22 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
Jan Jongboom 0:910f5949759f 23 IN THE SOFTWARE.