CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/07/11 05:48:50
Modified files:
usr.sbin/relayd: config.c http.h parse.y relay_http.c relayd.c
relayd.h
regress/usr.sbin/relayd: args-http-change-cookie.pl
args-http-change-path.pl
args-http-remove.pl
Log message:
Simplify the code that handles the HTTP headers by using an RB tree
with associated lists instead of the complicated lookup table and
"others" list. This might add a little malloc overhead for common
headers but also fixes some issues like the handling of repeated
headers - for example, handling of multiple "Set-Cookie" headers.
ok bluhm@ (regress part)
ok benno@