Bug 187065

Summary: Deal better with the network process crashing on startup
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2018-06-26 15:16:38 PDT
When a network process crashes on startup, we would not attempt to relaunch it. If there were web processes waiting for a connection to this network process, we would send them an invalid connection identifier which would cause them to forcefully crash.
Instead, we now apply the same policy whether a network process crashes on startup or later:
- We attempt to relaunch the network process
- If there were pending connections from WebContent processes, we send them the conn
Comment 1 Chris Dumez 2018-06-26 15:17:32 PDT
<rdar://problem/41451622>
Comment 2 Chris Dumez 2018-06-26 15:22:25 PDT
Created attachment 343647 [details]
Patch
Comment 3 Geoffrey Garen 2018-06-26 18:39:29 PDT
Comment on attachment 343647 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2018-06-26 19:11:05 PDT
Comment on attachment 343647 [details]
Patch

Clearing flags on attachment: 343647

Committed r233240: <https://trac.webkit.org/changeset/233240>
Comment 5 WebKit Commit Bot 2018-06-26 19:11:06 PDT
All reviewed patches have been landed.  Closing bug.