Home Explore Help
Register Sign In
ghopp
/
server_playground
1
0
Fork 0
Code Issues Pull Requests Projects Releases Wiki Activity
51 Commits
1 Branch
0 Tags
51 MiB
Tree: 6aef05cf7f
master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from '6aef05cf7f'
${ noResults }
Commit Graph

8 Commits (6aef05cf7f75a53bab2b4107b5ba06a16e834275)

Author SHA1 Message Date
Georg Hopp 6aef05cf7f fix rather nasty reentrance bug
as i first wrote the parser i used static valiables to hold the
state of the currently parsed request.
If a request would spread of multiple reads this would lead
to one reqeust messing up the state of another.
not those states are part of the parser object itself where
they belong.
14 years ago
Georg Hopp cb75a749e9 start split of request parser
14 years ago
Georg Hopp f678adcae4 access to headers via hash, read body (actually only with content-length header should also look for content-encoding)
14 years ago
Georg Hopp 68e9682380 now stuff seems to work correct even if read does not provide a complete request (tested with telnet)
14 years ago
Georg Hopp 90df11c014 now each HttpRequestParser initializes its own request queue and enqueus completed requests there. The server now gets the queue and prints completed requests.
14 years ago
Georg Hopp f1bf7c49f7 basic request parsing (line by line) implemented
14 years ago
Georg Hopp 90476e07d8 add StreamReader interface, modify HttpRequestParser and Server to use it
14 years ago
Georg Hopp 2dcc288a40 some latest work
14 years ago
Powered by Gitea Version: 1.14.6 Page: 44ms Template: 5ms
English
English 简体中文 繁體中文(香港) 繁體中文(台灣) Deutsch français Nederlands latviešu русский Українська 日本語 español português do Brasil Português de Portugal polski български italiano suomi Türkçe čeština српски svenska 한국어
Licenses API Website Go1.17.1