mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.http: in memory cert verification
This commit is contained in:
@ -27,10 +27,11 @@ pub mut:
|
||||
read_timeout i64 = 30 * time.second
|
||||
write_timeout i64 = 30 * time.second
|
||||
//
|
||||
validate bool // when true, certificate failures will stop further processing
|
||||
verify string
|
||||
cert string
|
||||
cert_key string
|
||||
validate bool // when true, certificate failures will stop further processing
|
||||
verify string
|
||||
cert string
|
||||
cert_key string
|
||||
in_memory_verification bool // if true, verify, cert, and cert_key are read from memory, not from a file
|
||||
}
|
||||
|
||||
fn (mut req Request) free() {
|
||||
|
Reference in New Issue
Block a user