0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Ryan Liptak 0488c3cb52 std.http: Always initialize response.headers in Client.request
Before this change, if a request errored before getting its `response.headers` initialized, then it would attempt to `deinit` `response.headers` which would still be `undefined`. Since all locations that set `response.headers` use the same code, it can just be done upfront in `request` instead.

Closes #15380
History 2023-04-23 15:33:23 -07:00
..
compiler_rt compiler_rt: README stubs for arbitrary precision big integer library routines 2023-04-20 16:04:10 -07:00
docs Merge pull request #15304 from der-teufel-programming/autodoc-defaults 2023-04-17 20:14:57 +02:00
include update C headers to LLVM 16.0.0 2023-03-18 16:01:09 -07:00
init-exe init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
init-lib init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
libc macos: add missing getopt.h header 2023-04-13 00:19:33 +02:00
libcxx update libcxx to LLVM 16.0.1 2023-04-05 23:22:29 -07:00
libcxxabi update libcxxabi to llvm 16 2023-01-26 16:36:13 -07:00
libunwind update libunwind to llvm 16 2023-01-26 16:36:14 -07:00
std std.http: Always initialize response.headers in Client.request 2023-04-23 15:33:23 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig delete --prominent-compile-errors from help 2023-03-18 20:13:52 +02:00
c.zig Add support for mips64/mips64el 2023-02-04 15:19:53 -05:00
compiler_rt.zig compiler_rt: declutter int.zig, add mulXi3 tests (#14623) 2023-02-24 13:27:02 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig x86_64: enable advanced test runner on Linux 2023-04-20 20:49:35 +01:00
zig.h zig.h: fix typo for zig_trap definition 2023-04-08 09:54:32 -07:00