net.http: fix post error with https on windows (#19334)

This commit is contained in:
shuankio 2023-09-12 05:43:13 -07:00 committed by GitHub
parent e8d133d548
commit a0490f2b67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 11 deletions

View file

@ -370,7 +370,7 @@ fn C.closesocket(int) int
fn C.vschannel_init(&C.TlsContext)
fn C.request(&C.TlsContext, int, &u16, &u8, &&u8) int
fn C.request(&C.TlsContext, int, &u16, &u8, u32, &&u8) int
fn C.vschannel_cleanup(&C.TlsContext)