Change #246147
Category | None |
Changed by | Daniel Stenberg <daniel | @haxx.se>
Changed at | Sun 19 Oct 2025 16:41:35 |
Repository | https://api.github.com/repos/curl/curl |
Project | curl/curl |
Branch | bagder/assert-host |
Revision | 086e35ac22eb2746953f05280d668e96de6fe5f6 |
Comments
lib: add asserts that hostname has content For all network related protocols there must be a non-blank hostname used. This change adds a few asserts in some places to make debug/tests catch mistakes if any such would slip in.
Changed files
- lib/doh.c
- lib/hostip.c
- lib/socks.c