Leonid Evdokimov
9a0809c439
Bump year in Copyright
mark, ouch that is ancient soft!
2018-01-26 23:57:43 +03:00
Leonid Evdokimov
7963de73d4
Add on_proxy_fail
to inform user's browser about sort of failure
...
Use the feature with care, enable it only for HTTP port to avoid
confusion, no client protocol detection is done at the moment.
2016-04-13 02:30:08 +03:00
Leonid Evdokimov
f3ef436c8e
Fix memory leak in Basic http-auth
2016-04-12 12:16:28 +03:00
Leonid Evdokimov
79e22a67fa
Change license to Apache 2.0 to ensure compatibility with android stack.
2011-04-20 20:17:09 +03:00
Leonid Evdokimov
486431bb70
Update comment to be a bit less confusing.
2011-01-31 22:52:48 +02:00
Przemyslaw Pawelczyk
c97a9e0c77
Properly handle unsupported qops in digest_authentication_encode().
...
Auth-int is not supported yet, so the function should return early.
2011-01-28 02:06:17 +01:00
Przemyslaw Pawelczyk
ddbf2d28ab
Use 'else if' in digest_authentication_encode().
...
In string comparison if-chain it's better to use 'else if', because it
clearly shows that conditions are exclusive.
2011-01-27 23:11:32 +01:00
Przemyslaw Pawelczyk
5a2fcb0518
Fix API bug and supposedly a typo.
...
scan-build result for http-auth.c:181:
Argument with 'nonnull' attribute passed null
The bug it found is spurious, because requires impossible execution path
(visible to static analyzer due to omitted elses in code and tool's
stupidity), but it actually helped in finding real bug.
2011-01-27 22:47:33 +01:00
Daniel Gröber
191249a33c
Fixed double "Basic" in Proxy-Authenticate header.
...
The authentication scheme name is already appended to the header in
httpc_mkconnect.
2011-01-24 15:17:05 +01:00
Bin Jin
7099116ff1
remove free_null macro
2011-01-13 15:24:48 +08:00
Bin Jin
54c91ad6c2
remove time limit between consective attempts
2010-11-19 01:03:20 +08:00
Bin Jin
1a3d2f7df2
fix the fatal issue in lastest commit
2010-11-19 00:52:41 +08:00
Bin Jin
b8a5598b17
use strcasecmp() instead, fix issue on staled auth
2010-11-19 00:47:39 +08:00
Bin Jin
8a545ad1da
fix issue: failed when no password provided after an auth challenge
2010-11-18 23:59:42 +08:00
Bin Jin
c12924022a
add proxy auth for http-connect, working but buggy
2010-11-18 22:57:20 +08:00
Bin Jin
c83e3b5fb2
minor fixes
2010-11-14 22:35:22 +08:00
Bin Jin
35a8f066ec
implement http-auth for basic and digest scheme
2010-11-14 22:28:48 +08:00