Commit graph

26 commits

Author SHA1 Message Date
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
yuyi
7681a0b46d
checker: check error of implementing other module private interface (fix #19620) (#19688) 2023-10-29 14:20:16 +02:00
Delyan Angelov
0a89f3082d
net.http: support passing on_running, on_stopped, on_closed callback functions to http.Server{}, as well as show_startup_message: false. (#19591) 2023-10-18 09:00:42 +03:00
Delyan Angelov
d93488b141
vlib: add net.http.file, allowing for v -e "import net.http.file; file.serve()" (#19348) 2023-09-15 00:45:02 +03:00
alexferl
c2dc1ca706
net.http: make listener public, and add addr in Server struct (#18871) 2023-07-16 15:42:30 +03:00
xiusin
43bc85d3bb
http: add workers to improve the server's concurrent capacity. (#18271) 2023-05-27 01:57:32 +03:00
xiusin
e4c769d072
net.http: add remote-addr header (#18208) 2023-05-21 15:23:24 +02:00
Turiiya
67e3061ea1
net: fix typos (#18164) 2023-05-12 09:31:27 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Nahua
1d4fd53344
net.http: add documentation to http, method, server, and status (#17130) 2023-01-27 13:58:55 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Delyan Angelov
9241b5572b
net.http: skip network timeouts on socket accept in the main http.Server loop 2022-10-23 17:08:27 +03:00
yuyi
f6844e9766
all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
Alexander Medvednikov
46f32fc10c checker: require unsafe for free() 2022-08-20 08:03:07 +03:00
Hunam
78d1b7f4ef
net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Tim Basel
9d0a5942ac
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Alexander Ivanov
0386f2bbea
checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
Fabricio Pashaj
0bf9197f41
net.http: add a close method to immediatly close the listener of a started http.Server, add more tests (#11248) 2021-08-24 19:21:24 +03:00
Miccah
6991a3c8d5
net.http: add graceful shutdown .stop() method to the http.Server struct (#11233) 2021-08-19 11:19:49 +03:00
Miccah
cc9463401e
http: change server handler from function to interface (#10994) 2021-08-01 15:50:11 +03:00
Miccah
a0e27d3fd9
net.http: refactor the Response struct (#10922) 2021-07-24 20:47:45 +03:00
Emily Hudson
535dcac8fa
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
Miccah
c2981de4d5
http: add server.v and organize HTTP request and response code (#10355) 2021-06-06 00:43:14 +03:00