1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Files
v/vlib
Delyan Angelov 13769f440f vweb: continue after bad http client connection; performance fixes
* Enable compiling vweb with -prod (by supressing 'declared and not used' warning about 'reset') .

* Fix http responses (now wrk is happy and shows no errors) by adding a Content-Length header.

* Fix -g compilation for urllib.v .

* vweb: println action= only in debug mode.

* vweb: max request headers counting fix.

* Make vweb.html get a 'ctx mut Context' param, just like the other methods.

* vweb: simplify add_header.

* Use a string builder for the most common html case so that the response http text can be send in one go.

* vweb: reduce _STR/string interpolation usage in the most common html response case.

* vweb: refactor common http response formatting into Context.send_response_to_client/2 method.
2019-12-11 17:32:54 +03:00
..
2019-10-30 17:30:49 +03:00
2019-12-06 19:12:01 +03:00
2019-12-07 18:16:19 +03:00
2019-12-06 23:02:09 +03:00
2019-12-02 12:31:49 +03:00
2019-12-08 01:03:35 +03:00
2019-12-01 10:33:26 +03:00
2019-12-01 12:50:13 +03:00
2019-11-20 07:26:52 +03:00
2019-12-03 20:41:49 +03:00
2019-12-09 13:31:24 +03:00
2019-12-03 11:18:20 +03:00
2019-12-06 02:00:37 +03:00
2019-12-07 15:51:00 +03:00
2019-12-07 18:16:19 +03:00
2019-12-04 13:08:28 +03:00
2019-11-24 12:14:22 +03:00
2019-12-06 19:23:24 +03:00
2019-11-06 23:04:40 +03:00
2019-12-07 15:51:00 +03:00
2019-12-01 12:50:13 +03:00