mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: fix byte buffers
This commit is contained in:
@ -101,7 +101,7 @@ fn (req &Request) ssl_do(port int, method Method, host_name string, path string)
|
||||
// println(req_headers)
|
||||
C.BIO_puts(web, &char(req_headers.str))
|
||||
mut content := strings.new_builder(100)
|
||||
mut buff := [bufsize]byte{}
|
||||
mut buff := [bufsize]u8{}
|
||||
bp := unsafe { &buff[0] }
|
||||
mut readcounter := 0
|
||||
for {
|
||||
|
Reference in New Issue
Block a user