Miccah
|
2cb0db633d
|
vweb: use Response struct for 302 response (#11245)
|
2021-08-20 01:13:36 +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 |
|
Delyan Angelov
|
f96b81b53a
|
ci: fix failing vweb_test.v
|
2021-08-17 18:57:04 +03:00 |
|
Alexander Medvednikov
|
f8174c381c
|
net.http: simplify fetch()
|
2021-08-17 09:17:03 +03:00 |
|
Delyan Angelov
|
e32c65c322
|
ci: fix TcpConn.set_blocking on windows
|
2021-08-07 23:27:25 +03:00 |
|
Delyan Angelov
|
b22c335496
|
net: add TcpConn.get_blocking/0, TcpConn.set_blocking/1 methods, change TcpConn.read_line to set the connection to blocking, if it was not already
|
2021-08-07 23:21:55 +03:00 |
|
zakuro
|
490dec222f
|
fmt: keep char literal, ' (#11060)
|
2021-08-06 06:21:28 +03:00 |
|
Delyan Angelov
|
efa8dcf4d2
|
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050)
|
2021-08-04 13:12:02 +03:00 |
|
Daniel Däschle
|
800c0e5092
|
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
|
2021-08-04 12:44:41 +03:00 |
|
Miccah
|
cc9463401e
|
http: change server handler from function to interface (#10994)
|
2021-08-01 15:50:11 +03:00 |
|
shadow
|
66bc8bc0cb
|
vlib: remove many deprecated functions (#10972)
|
2021-07-28 09:22:19 +03:00 |
|
Louis Schmieder
|
1943da54a5
|
orm: integrate psql to orm (#10933)
|
2021-07-24 20:49:40 +03:00 |
|
Miccah
|
a0e27d3fd9
|
net.http: refactor the Response struct (#10922)
|
2021-07-24 20:47:45 +03:00 |
|
Miccah
|
0acb84d5a5
|
net: add parse_headers function and handle header line folding (#10936)
Closes https://github.com/vlang/v/issues/10930
|
2021-07-24 11:31:33 +03:00 |
|
Alexander Medvednikov
|
de6784a007
|
net: base address_freebsd.c.v on darwin instead of linux
|
2021-07-21 17:31:32 +03:00 |
|
Alexander Medvednikov
|
e38b0d7e9f
|
net: freebsd fixes
|
2021-07-21 14:29:45 +03:00 |
|
Delyan Angelov
|
c12cd0c964
|
ci: workaround for failing net tests
|
2021-07-21 09:58:40 +03:00 |
|
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
|
crthpl
|
5089eb4a84
|
parser: fix pointer cast expressions hack (#10777)
|
2021-07-13 12:01:24 +03:00 |
|
shadowninja55
|
7694afa44c
|
checker: check that mut args are lvalues (#10779)
|
2021-07-13 08:06:39 +03:00 |
|
Miccah
|
3039092b89
|
net.http: add header_from_map and join functions (#10747)
|
2021-07-12 12:16:41 +03:00 |
|
Miccah
|
44e78a6301
|
vweb: use http.Response constants instead of strings (#10730)
|
2021-07-10 11:58:07 +03:00 |
|
shadowninja55
|
806d6172cb
|
checker: prohibit casting void (#10690)
|
2021-07-07 21:59:58 +03:00 |
|
Tomas Hellström
|
ec973f5c6e
|
x.websocket: move to net.websocket module (#10648)
|
2021-07-03 02:56:00 +03:00 |
|
Uwe Krüger
|
72358833e0
|
time: use Duration(C.INT64_MAX) as infinite (#10539)
|
2021-06-22 12:17:44 +03:00 |
|
Ekopalypse
|
e259f7ac58
|
net: make openssl init function backward compatible (#10537)
|
2021-06-21 19:23:57 +03:00 |
|
Delyan Angelov
|
9f6ddb4c21
|
v.fmt: add an independent Comment.is_inline flag. Use it for fixing [ .. //x ] => [ .. //x, ]
|
2021-06-18 15:52:31 +03:00 |
|
JalonSolov
|
64f34f6d61
|
net: return error unless response code was 200 (#10499)
|
2021-06-18 01:28:40 +03:00 |
|
Tomas Hellström
|
46eb6befd5
|
vweb,net: just log errors in accept() instead of panic-ing, add time.sleep(1ms) after each retry in select (#10489)
|
2021-06-17 10:41:26 +03:00 |
|
Andreas Heissenberger
|
b2e2a53f98
|
net.http: add ability to parametrize the read and write timeouts of a http request (#10482)
|
2021-06-16 20:21:49 +03:00 |
|
Tomas Hellström
|
2f9e03b360
|
net: retry logic on select when fail on signal (#10453)
|
2021-06-16 04:07:24 +03:00 |
|
JalonSolov
|
aaa59ac770
|
net: fix chunked check, remove length workaround (#10472)
|
2021-06-15 19:28:54 +03:00 |
|
Uwe Krüger
|
60c880a0cc
|
vlib: use malloc_noscan() where possible (#10465)
|
2021-06-15 14:47:11 +03:00 |
|
JalonSolov
|
12bb0c236a
|
net: fix 0 length file if Content-Header is missing or corrupt (#10464)
|
2021-06-15 07:29:02 +03:00 |
|
Delyan Angelov
|
d7d9305d96
|
net: vfmt everything
|
2021-06-14 10:08:41 +03:00 |
|
Emily Hudson
|
535dcac8fa
|
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904)
|
2021-06-13 23:53:38 +03:00 |
|
JalonSolov
|
6e41561124
|
net: fix download_file (#10439)
|
2021-06-13 01:40:32 +03:00 |
|
Carlos Esquerdo Bernat
|
86778d06b1
|
net.http: add a Header.starting_with method, to get the first header, starting with a key (#10119)
|
2021-06-07 11:18:40 +03:00 |
|
Alexander Medvednikov
|
aea93c3a96
|
net.http: vfmt and remove unused ws_func
|
2021-06-06 01:51:49 +03:00 |
|
Miccah
|
c2981de4d5
|
http: add server.v and organize HTTP request and response code (#10355)
|
2021-06-06 00:43:14 +03:00 |
|
Miccah
|
c8d5e783a3
|
net: use custom error for invalid headers (#10323)
|
2021-06-03 09:50:07 +03:00 |
|
Ryan Roden-Corrent
|
a368800b26
|
net.urllib: don't crash on str() if url is missing host (#10313)
|
2021-06-02 16:12:27 +03:00 |
|
Delyan Angelov
|
eac1e25c5d
|
strings: simplify Builder (#10263)
|
2021-05-31 14:21:06 +03:00 |
|
Delyan Angelov
|
104d9a7c8a
|
net: cleanup #include directives
|
2021-05-22 10:53:19 +03:00 |
|
Enzo
|
906b207e58
|
checker: deprecate using V strings in C function calls (#10140)
|
2021-05-20 09:17:44 +03:00 |
|
Delyan Angelov
|
9d8489b025
|
net.openssl: add -ldl -lpthread for linux
|
2021-05-16 08:28:46 +00:00 |
|
Alexander Medvednikov
|
ed6ad728d9
|
vweb: fix serving static files
|
2021-05-16 04:28:14 +03:00 |
|
Delyan Angelov
|
143c3d4bb4
|
io: deprecate io.make_reader (not needed anymore)
|
2021-05-13 10:26:26 +03:00 |
|
Don Park
|
aebb551e93
|
cgen: do full struct initialisation for V structs, fixes invalid data from map[string]Struct{}['unknown'] (#9878)
|
2021-04-27 08:18:48 +03:00 |
|
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
|