|
From: | @rockdaboot |
Subject: | Re: wget2 | Draft: CIDR support added for No Proxy. Testing Code Added (!521) |
Date: | Sun, 09 Apr 2023 17:33:31 +0000 |
Tim Rühsen commented on a discussion on libwget/http.c: https://gitlab.com/gnuwget/wget2/-/merge_requests/521#note_1346181758 > return 0; > } > > +wget_vector* wget_http_get_no_proxy(void){ > + return no_proxies; > +} > + > +bool wget_http_cidr_match(const char *cidr, struct in_addr *addr) > +{ > + char *slash_pos = strchr(cidr, '/'); > + if (slash_pos == NULL) > + { > + return false; // invalid CIDR range > + } > + int prefix_len = atoi(slash_pos + 1); :+1: Thanks for the clarification -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnuwget/wget2/-/merge_requests/521#note_1346181758 You're receiving this email because of your account on gitlab.com.
[Prev in Thread] | Current Thread | [Next in Thread] |