(In reply to Honza Bambas (:mayhemer) from comment #1) > Could we just have an implementation of nsIAsyncInputStream that crosses IPC (an inter-process pipe, actually) and let the pump simply live on the parent and deliver as it is? I think this might be a good idea, since the code HttpTransactionParent right now is a bit mess.
Bug 1550426 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Honza Bambas (:mayhemer) from comment #1) > Could we just have an implementation of nsIAsyncInputStream that crosses IPC (an inter-process pipe, actually) and let the pump simply live on the parent and deliver as it is? I think this might be a good idea, since the code in HttpTransactionParent right now is a bit mess.
(In reply to Honza Bambas (:mayhemer) from comment #1) > Could we just have an implementation of nsIAsyncInputStream that crosses IPC (an inter-process pipe, actually) and let the pump simply live on the parent and deliver as it is? I think this might be a good idea, since the code in HttpTransactionParent right now is a bit mess. But using an IPC pipe to deliver data would break the way we used to send ODA to child process.