summaryrefslogtreecommitdiff
path: root/libcli/http
AgeCommit message (Collapse)AuthorFilesLines
2026-03-31auth: Call talloc_keep_secret() for sensitive memoryPavel Filipenský1-0/+3
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2024-04-08libcli/http: Detect unsupported Transfer-encoding typeNoel Power1-15/+33
Also removes knownfail for test that now passes BUG: https://bugzilla.samba.org/show_bug.cgi?id=15611 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-03-27libcli/http: Handle http chunked transfer encodingNoel Power2-3/+219
Also removes the knownfail for the chunked transfer test Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=15611
2024-03-27libcli/http: Optimise reading for content-lengthNoel Power1-7/+46
Instead of reading byte-by-byte we know the content length we want to read so lets use it. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=15611
2023-08-08libcli: Add missing newlines to logging messagesJoseph Sutton1-2/+2
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-05-05lib/http: Remove unused structureJoseph Sutton1-1/+0
This is just a typo of ‘struct loadparm_context’. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-11-10http_conn.c: fix "void function cannot return value" errorBjörn Jacke1-2/+1
this made the studio compiler build break Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-08-28lib/util: remove extra safe_string.h fileMatthew DeVore3-0/+6
lib/util/safe_string.h is similar to source3/include/safe_string.h, but the former has fewer checks. It is missing bcopy, strcasecmp, and strncasecmp. Add the missing elements to lib/util/safe_string.h remove the other safe_string.h which is in the source3-specific path. To accomodate existing uses of str(n?)casecmp, add #undef lines to source files where they are used. Signed-off-by: Matthew DeVore <matvore@google.com> Reviewed-by: David Mulder <dmulder@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 28 02:18:40 UTC 2020 on sn-devel-184
2019-12-08build: libcli/http does not need samba3core, only gensecVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-08-07s4:lib/http: move to the toplevelRalph Boehme8-0/+2312
This is going to be used from the s3 RPC server soon... Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Samuel Cabrero <scabrero@suse.de>