gecko-dev/modules
Kris Maglione 635fc0e1ae Bug 1405286: Part 1 - Allow retrieving the delivery target from retargetable requests. r=dragana
After data delivery for a request has been retargeted, there's no reliable way
to get the appropriate event target to re-dispatch data events after
asynchronous processing.


While it's technically possible to retrieve the current thread from
OnDataAvailable callbacks and re-use that for later dispatch, that approach
has some issues:

1) It's not currently possible to reliably map the current thread to the
thread pool that owns it. That means that if data delivery is being targetted
to a thread pool, attempts to redispatch events to the previous delivery
thread might lead to long delays when one thread in a pool is blocked.

2) If a filter wishes to dispatch data events to the wrapped listeners before
it's recieved any data (as extensions StreamFilters sometimes do), there's no
way to determine the proper event target without waiting for initial data to
be received.


Simply returning the correct event target from the request solves both of
these problems.

MozReview-Commit-ID: CJxq7O4399R

--HG--
extra : rebase_source : db2f659ecad16daafdbcc108d7b1a51ea1af31f9
2017-10-14 18:30:38 -07:00
..
brotli Bug 1402350 - Update Brotli library to release 1.0.1. r=glandium 2017-09-28 08:58:54 +01:00
fdlibm Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai 2017-03-27 03:33:34 -07:00
freetype2 Bug 1401227 - Cherry-pick patch 0d1262a41e019e4511071e339bb8aa018596a1fd from upstream freetype to avoid potential crash in premultiply_data. r=milan 2017-09-25 17:30:53 +01:00
libbz2
libjar Bug 1405286: Part 1 - Allow retrieving the delivery target from retargetable requests. r=dragana 2017-10-14 18:30:38 -07:00
libmar Bug 1407014 - Fix typo in CyprtoAPI_VerifySignature function name. r=rstrong 2017-10-09 11:57:43 -07:00
libpref Back out bug 1354730 to reopen CLOSED TREE. 2017-10-16 14:34:23 -04:00
pdfium Bug 1402065 Add the pdfium patch to the repo and update.sh r=jwatt 2017-09-22 00:30:29 -05:00
woff2 Bug 1340910 - pt 2+3 - Import Brotli 0.6.0 from upstream, and Gecko updates required to work with Brotli 0.6.0 API changes. r=glandium 2017-08-09 11:45:39 +01:00
xz-embedded Bug 641212 - use lzma compression for application update. Part 1 - xz-embedded build config changes. r=glandium, a=app_update_lzma 2017-07-30 23:26:56 -07:00
zlib
moz.build