Toby Webb
|
09955b7ce8
|
net.websocket: fix server not listening for IPv4 (#12717)
|
2021-12-06 11:10:25 +02:00 |
Miccah
|
799d7b843c
|
net: properly convert IP address C strings to V strings (#12648)
|
2021-12-02 11:18:14 +02:00 |
Delyan Angelov
|
6d97b0a407
|
checker: improve checking of a << b, when a and b are numbers (#12589)
|
2021-11-29 03:48:49 +03:00 |
Delyan Angelov
|
8e0de2036d
|
net: use `vmemset(&hints, 0, int(sizeof(hints)))`, instead of zeroing the fields 1 by 1
|
2021-11-24 09:34:48 +02:00 |
Delyan Angelov
|
3c6356ba36
|
ci: fix request_test.v (add missing \r to hardcoded post data)
|
2021-11-10 18:16:15 +02:00 |
Delyan Angelov
|
466ced2876
|
net.http: fix multipart/form-data file upload handling
|
2021-11-10 17:31:41 +02:00 |
Miccah
|
655b5c563a
|
net.http: use `[params]` for Config structs (#12299)
|
2021-10-26 10:45:27 +03:00 |
Delyan Angelov
|
d9c6c9a7df
|
http: cleanup download_file, remove unimplemented download_file_with_progress
|
2021-10-24 17:19:44 +03:00 |
a-iga
|
1ba839dc3b
|
openssl: change `read_into` to `read` (#12251)
|
2021-10-21 14:13:04 +03:00 |
Alexander Medvednikov
|
e6b7ab8b9d
|
net.http: authority header
|
2021-10-17 06:40:19 +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 |
Delyan Angelov
|
0916806350
|
ci: do not use htonll and ntohll on windows, use the portable versions instead.
|
2021-10-02 18:21:16 +03:00 |
Delyan Angelov
|
9a4dbc25ca
|
ci: fix failing conv_test.v on windows
|
2021-10-02 15:51:48 +03:00 |
Anton Zavodchikov
|
4c8094d0d9
|
net.http: make public errors and parse_form (#12038)
|
2021-10-02 15:28:35 +03:00 |
Anton Zavodchikov
|
600880660a
|
net.http: add a deprecated attribute for un/escape functions (#12037)
|
2021-10-02 15:19:32 +03:00 |
Delyan Angelov
|
d1d4877348
|
net.conv: add a test for the nth16/nth32/nth64/htn16/htn32/htn64 functions
|
2021-10-02 13:26:09 +03:00 |
Delyan Angelov
|
6f7c3a7cdf
|
ci: do `brew install openssl` on the macos job, reduce flakyness of tcp_test.v
|
2021-10-01 13:13:05 +03:00 |
Delyan Angelov
|
2bdba5ed73
|
net: fix declarations of C.htonl/C.htons/C.ntohl/C.ntohs in aasocket.c.v
|
2021-10-01 12:57:47 +03:00 |
Alexander Medvednikov
|
c2f535fee1
|
ci: run the gitly web server test
|
2021-09-29 19:26:49 +03:00 |
Delyan Angelov
|
6b40ead54d
|
fix `./v -cc g++ run examples/concurrency/concurrency_http.v`
|
2021-09-28 10:35:02 +03:00 |
czkz
|
6967a47e07
|
net.openssl: fix typos in comments (#11988)
|
2021-09-26 22:33:10 +03:00 |
Miccah
|
956fdffd96
|
net.http: allow custom headers in post_multipart_form (#11971)
|
2021-09-25 10:09:49 +03:00 |
Delyan Angelov
|
ece5fa183c
|
fast.v: freebsd fixes
|
2021-09-23 13:48:41 +03:00 |
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
Delyan Angelov
|
7bd145d88a
|
os,net: cleanup deprecated @VROOT usages
|
2021-09-19 16:24:24 +03:00 |
Miccah
|
ead5e66afd
|
net.http: add post_multipart_form function (#11511)
|
2021-09-16 07:34:07 +03:00 |
Dialga
|
f295469fac
|
net.urllib: make unescape() autofree compatible (#11510)
|
2021-09-16 07:09:20 +03:00 |
Daniel Däschle
|
b63ec8fbcf
|
checker: require `params` attribute to use struct as keyword arguments in function (#11135)
|
2021-09-14 00:05:30 +03:00 |
Alexander Medvednikov
|
90e04d03b2
|
net.http: fix request_test.v
|
2021-09-11 06:16:00 +03:00 |
Alexander Medvednikov
|
1546090131
|
vweb: remove a duplicate function parse_multipart_form
|
2021-09-11 04:21:10 +03:00 |
Alexander Medvednikov
|
d1e9aa49ea
|
net.http: in memory cert verification
|
2021-09-09 19:55:57 +03:00 |
yuyi
|
e5360e164a
|
fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435)
|
2021-09-08 14:19:53 +03:00 |
Enzo
|
e3b65092d6
|
parser: deprecate `size_t` (#11443)
|
2021-09-08 13:09:32 +03:00 |
Alexander Medvednikov
|
577fedfce1
|
net.http: fix a bug with ? in new_request
|
2021-09-08 05:11:02 +03:00 |
Dialga
|
00433ba460
|
net.urllib: avoid a double free in set_path() when compiled with -autofree (#11427)
|
2021-09-07 21:11:03 +03:00 |
Dialga
|
9b983bdd95
|
net.urllib: fix double free in escape() (#11390)
|
2021-09-04 14:57:09 +03:00 |
Delyan Angelov
|
56993b9e2d
|
net.http: support passing client certificates in http.fetch (#11356)
|
2021-09-01 01:43:35 +03:00 |
yuyi
|
8be2be8311
|
all: change 'if !(a in b)' to 'if a !in b' (#11330)
|
2021-08-29 11:55:18 +03:00 |
Alexander Medvednikov
|
853d3cb83e
|
os: make chmod() return error
|
2021-08-28 09:37:24 +03:00 |
Delyan Angelov
|
c954c2834a
|
net: add `-d trace_tcp` support for more TcpConn methods; support again `-d net_blocking_sockets` too
|
2021-08-27 13:10:34 +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
|
51d7aede68
|
net.http: render each header value on a newline (#11270)
|
2021-08-23 00:38:09 +03:00 |
Simon
|
ed06c47a51
|
net: remove sockets if they already exists (#11264)
|
2021-08-22 13:38:02 +03:00 |
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 |