]> git.ipfire.org Git - thirdparty/curl.git/commit
http_proxy: use enum with state names for 'keepon' 6193/head
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Nov 2020 22:48:25 +0000 (23:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Nov 2020 00:01:56 +0000 (01:01 +0100)
commitc49d205ae021d9e02e0466905d4aac49665b2b19
tree01bf4aeb2727962f3beeefe1cfa9a5f628d0583a
parent7ae59838f0b9af600f3936485ad45de86bd3435f
http_proxy: use enum with state names for 'keepon'

To make the code clearer, change the 'keepon' from an int to an enum
with better state names.

Reported-by: Niranjan Hasabnis
Bug: https://curl.se/mail/lib-2020-11/0026.html
Closes #6193
lib/http_proxy.c
lib/urldata.h