FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

modify http parser by rfc2616 by gotojyh · Pull Request #201 · monkey/monkey · GitHub

/ monkey Public

modify http parser by rfc2616 - #201

Open
gotojyh wants to merge 2 commits into
monkey:masterfrom
gotojyh:master
Open

modify http parser by rfc2616#201
gotojyh wants to merge 2 commits into
monkey:masterfrom
gotojyh:master

Conversation

gotojyh commented Apr 14, 2015

Copy link
Copy Markdown

modify http parser

gotojyh commented Apr 14, 2015

Copy link
Copy Markdown
Author

I found this data in one package on Android Chrome;
cookie:\r\n
refer:\r\n
so I look up RFC 2616,found that the length of header content may be zero.so I think the package is right.

RFC 2616 Page 32 [http://www.ietf.org/rfc/rfc2616.txt]


   message-header = field-name ":" [ field-value ]
   field-name     = token
   field-value    = *( field-content | LWS )
   field-content  = <the OCTETs making up the field-value
                    and consisting of either *TEXT or combinations
                    of token, separators, and quoted-string>

modify size_t to ssize_t

Signed-off-by: jiangyonghang <gotojyh@gmail.com>
gotojyh changed the title modify mk_connection.c bytes modify http parser by rfc2616 Apr 15, 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL