0.11
-
breaking: remove deprecated path handlers based on scanf
-
breaking: more getter/setters for request/response, change signatures,
make request/response private aliases -
fix: release semaphore in case of exception in accept
-
feat: add a notion of Middleware
-
feat: add
?middlewaresparam tocreate -
feat: add
?get_time_sparam tocreate -
feat: close connection if response's headers contains connection
-
feat: store
start_timein request -
feat: implement connection timeout using socket options
Default ismax_keep_alive = -1.0which preserves the original behaviour. -
feat: in server-sent-events, add a
close()function -
refactor(zip): compression is now a middleware
-
perf: pass
buf_sizein many places, set defaultbuf_sizeto 16kb -
example: update
echoto provide a /stats/ endpoint using a middleware