[PATCH 2/3] uclient-fetch: Simplify uclient_request_supports_body()

2023-04-06 Thread Sergey Ponomarev
Only GET and HEAD shouldn't have a body Signed-off-by: Sergey Ponomarev --- uclient-http.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/uclient-http.c b/uclient-http.c index 80d4495..02bb7c2 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -292,14 +292,7 @@ stat

[PATCH 1/3] uclient-fetch: Make request_types sorted to optimize search

2023-04-06 Thread Sergey Ponomarev
Signed-off-by: Sergey Ponomarev --- uclient-http.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/uclient-http.c b/uclient-http.c index c2bba6b..80d4495 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -40,11 +40,11 @@ enum auth_type { }; enum reques

[PATCH 3/3] uclient-fetch: Support for WebDAV methods

2023-04-06 Thread Sergey Ponomarev
The WebDAV is an extension for HTTP for shared folders. In order to make wget working with it we have to declare the missing constants with methods. They don't take part in a logic except of OPTIONS methods that can't have a body. Signed-off-by: Sergey Ponomarev --- uclient-http.c | 18 +++

[PATCH 1/5] uclient-fetch: --header: handle alloc error

2023-04-06 Thread Sergey Ponomarev
Signed-off-by: Sergey Ponomarev --- uclient-fetch.c | 5 + 1 file changed, 5 insertions(+) diff --git a/uclient-fetch.c b/uclient-fetch.c index f9f0174..30440b3 100644 --- a/uclient-fetch.c +++ b/uclient-fetch.c @@ -650,6 +650,11 @@ int main(int argc, char **argv)

Re: next OpenWrt 22.03 and 21.02 minor release

2023-04-06 Thread Mateusz Jończyk
W dniu 6.04.2023 o 20:57, Andreas Ziegler pisze: > > Mateusz Jończyk wrote on 06.04.23 14:18: >> W dniu 28.03.2023 o 00:54, hauke at hauke-m.de (Hauke Mehrtens) pisze: >>> Hi, >>> >>> I would like to create a new OpenWrt 22.03 and 21.02 minor release in >>> the next week. >>> >>> OpenWrt 21.02.6 wo

Re: next OpenWrt 22.03 and 21.02 minor release

2023-04-06 Thread Andreas Ziegler
Mateusz Jończyk wrote on 06.04.23 14:18: W dniu 28.03.2023 o 00:54, hauke at hauke-m.de (Hauke Mehrtens) pisze: Hi, I would like to create a new OpenWrt 22.03 and 21.02 minor release in the next week. OpenWrt 21.02.6 would be the final release of the OpenWrt 21.02 series. Hello, Last week,

Re: next OpenWrt 22.03 and 21.02 minor release

2023-04-06 Thread Mateusz Jończyk
W dniu 28.03.2023 o 00:54, hauke at hauke-m.de (Hauke Mehrtens) pisze: > Hi, > > I would like to create a new OpenWrt 22.03 and 21.02 minor release in > the next week. > > OpenWrt 21.02.6 would be the final release of the OpenWrt 21.02 series. Hello, Last week, a vulnerability in some WiFi stack