haiku/headers
Adrien Destugues f9e1854f19 libbnetapi: fix access to HTTP headers
The asynchronous listener had no reliable way to access HTTP result and
headers from the callbacks. As the callbacks are triggered
asynchronously, they can be run after the request has carried on and,
for example, followed an HTTP redirect, clearing its internal state.

The HeadersReceived callback now passes a reference to BUrlResult for
the request. There are two cases:
- Synchronous listener: passes a reference to the request's results
directly
- Asynchronous listener: archives a copy of the result into the
notification message, and passes a reference to the unarchived copy.

Unfortunately this comes with several ABI and API breakages:
- Change to the prototype of HeadersReceived()
- Change to the class hierarchy of BUrlResult (implements BArchivable)

All users of HTTP requests will need to be updated if they implemented
in HeadersReceived or used BUrlResult.
2017-01-30 20:27:52 +01:00
..
build Add forwarding header for BUrl. 2016-12-29 18:18:21 +01:00
clang Import lib/Headers from Clang 2015-11-09 18:01:18 +01:00
compatibility build: Convert to external libedit build package 2015-07-04 15:29:05 -05:00
config
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc
libs headers/libs/mesa: Remove. 2016-07-29 18:41:30 -04:00
os libbnetapi: fix access to HTTP headers 2017-01-30 20:27:52 +01:00
posix Sync atheros813x with FreeBSD 2017-01-22 09:20:01 +01:00
private MediaConnection: Implement auto release 2017-01-18 20:19:02 +01:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00