/haiku/headers/private/netservices/ |
H A D | UrlResult.h | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | HttpResult.h | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlSynchronousRequest.h | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlProtocolDispatchingListener.h | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlProtocolListener.h | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
/haiku/src/kits/network/libnetservices/ |
H A D | UrlResult.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | HttpResult.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlProtocolAsynchronousListener.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | DataRequest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlSynchronousRequest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | GopherRequest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | FileRequest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlProtocolDispatchingListener.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | UrlProtocolListener.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
H A D | HttpRequest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
/haiku/src/add-ons/media/plugins/http_streamer/ |
H A D | HTTPMediaIO.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
/haiku/src/apps/haikudepot/server/ |
H A D | WebAppInterface.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> f9e1854f198d4200f21a9cbe29fdfb0fabbe192f Sun Jan 29 18:25:02 UTC 2017 Adrien Destugues <pulkomandy@gmail.com> 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.
|
/haiku/src/tests/kits/net/service/ |
H A D | HttpTest.cpp | 3e27f8d5a756a454b88865c0630fe73ce6d79761 Sat Jul 18 03:58:55 UTC 2020 Leorize <leorize+oss@disroot.org> libbnetservices: BUrlResult is no longer a BArchivable
The switch to make BUrlResult serializable was debuted in f9e1854f198d4200f21a9cbe29fdfb0fabbe192f with the rationale is that BHttpRequest auto-redirection might cause the headers to become obsolete by the time a client process the BMessage received from BUrlProtocolDispatchingListener.
With the change to BHttpRequest to not notify listeners when auto-redirection is enabled, this is no longer the case and the serialization code can go away now. This simplifies BUrlResult and its subclasses, and gain us some performance for clients using BUrlProtocolDispatchingListener as the result object no longer has to be serialized.
This also change the ABI of BUrlProtocolListener::HeadersReceived to no longer passing a BUrlResult.
Additionally, BUrlResult and BHttpResult now express the size of the content as an off_t, thus allowing results larger than 4 GB.
Change-Id: I9dd29a8b26fdd9aa8e5bbad8d1728084f136312d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3082 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|