Loïc Hoguin
|
c326a195e0
Add cowboy_req:get/2 and :set/2 private functions
|
12 years ago |
Loïc Hoguin
|
b2243aa544
Optimize cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
9d4f4ec9c7
Extract the buffer out of the #state{} in cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
ff3c5c7f45
Improve state reset between requests
|
12 years ago |
Loïc Hoguin
|
8a6baac9ad
Use binary:match/2 instead of binary:split/2
|
12 years ago |
Loïc Hoguin
|
34021666cb
Don't use decode_packet/3 for parsing the headers
|
12 years ago |
Loïc Hoguin
|
8497c8bbcd
Don't use decode_packet/3 for parsing the request-line
|
12 years ago |
Loïc Hoguin
|
c2be7c1920
Add types for onrequest and onresponse funs
|
12 years ago |
Loïc Hoguin
|
9090cd9765
Replace many proplists:get_value/{2,3} calls by BIFs
|
12 years ago |
Loïc Hoguin
|
13b743ba26
Include the eunit file only if TEST is defined
|
12 years ago |
Loïc Hoguin
|
58edd4c35a
Add the private get_connection/1 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
cf0e905c52
Add the private get_buffer/1 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
e55ec7d43d
Add the private get_resp_state/1 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
c1dd5b5176
Add the private set_bindings/4 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
5b56dd780b
Add the private set_buffer/2 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
fc02b7f767
Add the private add_header/3 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
905083a7fd
Add the private set_connection/2 function used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
350d4ae3f2
Add the private function set_host/4 used by cowboy_protocol
|
12 years ago |
Loïc Hoguin
|
6dbc1f9ef9
Add a private cowboy_req function to create a Req object
|
12 years ago |
Loïc Hoguin
|
c1f5a2acb2
Use cowboy_req:version/1 in cowboy_protocol where applicable
|
12 years ago |
Loïc Hoguin
|
f205d44518
Add a function to lock request responses instead of inlining
|
12 years ago |
Loïc Hoguin
|
8d5f8db90a
Improve consistency of return types for cowboy_req API
|
12 years ago |
Loïc Hoguin
|
f65f7d19a8
Use skip_body directly between requests
|
12 years ago |
Loïc Hoguin
|
0aaa717575
Remove duplicate code for ensure_response
|
12 years ago |
Loïc Hoguin
|
bb4bd9ac96
Add a cowboy_req:to_list/1 function
|
12 years ago |
Loïc Hoguin
|
d9e76d59a1
Change type #http_req{} to cowboy_req:req()
|
12 years ago |
Loïc Hoguin
|
4040a9f72d
Separate multipart from body_state
|
12 years ago |
Loïc Hoguin
|
79839b7bb5
Replace cowboy_req:path/1 with cowboy_req:raw_path/1
|
12 years ago |
Loïc Hoguin
|
6fa734b487
Replace cowboy_req:host/1 with cowboy_req:raw_host/1
|
12 years ago |
Loïc Hoguin
|
0e3adf1fee
Rename cowboy_http_websocket to cowboy_websocket
|
12 years ago |