Revision 6668ff3716086d3f8efead0f5db2d8d2864c3563 authored by Robert Ma on 21 March 2018, 17:35:46 UTC, committed by Robert Ma on 21 March 2018, 17:35:46 UTC
1. Check the HTTP port of wptserve instead of HTTPS to avoid the unnecessary complexities of setting up SSL context (which may fail in some environments). 2. Use exponential backoff when waiting for wptserve and specify a maximum retry to avoid indefinite hang. 3. Use `terminate` instead of `kill` to give wptserve a chance to clean up, which is especially useful when running locally.
1 parent dbb38a6
File | Mode | Size |
---|---|---|
resources | ||
304.htm | -rw-r--r-- | 3.3 KB |
OWNERS | -rw-r--r-- | 40 bytes |
README.md | -rw-r--r-- | 200 bytes |
access-control-expose-headers-parsing.window.js | -rw-r--r-- | 512 bytes |
allow-headers.htm | -rw-r--r-- | 3.1 KB |
basic.htm | -rw-r--r-- | 2.2 KB |
credentials-flag.htm | -rw-r--r-- | 4.1 KB |
image-tainting-in-cross-origin-iframe.sub.html | -rw-r--r-- | 893 bytes |
late-upload-events.htm | -rw-r--r-- | 1.4 KB |
origin.htm | -rw-r--r-- | 4.4 KB |
preflight-cache.htm | -rw-r--r-- | 4.4 KB |
preflight-failure.htm | -rw-r--r-- | 1.8 KB |
redirect-origin.htm | -rw-r--r-- | 6.8 KB |
redirect-preflight-2.htm | -rw-r--r-- | 2.1 KB |
redirect-preflight.htm | -rw-r--r-- | 1.5 KB |
redirect-userinfo.htm | -rw-r--r-- | 3.3 KB |
remote-origin.htm | -rw-r--r-- | 3.7 KB |
request-headers.htm | -rw-r--r-- | 2.8 KB |
response-headers.htm | -rw-r--r-- | 3.9 KB |
simple-requests.htm | -rw-r--r-- | 3.1 KB |
status-async.htm | -rw-r--r-- | 4.4 KB |
status-preflight.htm | -rw-r--r-- | 2.0 KB |
status.htm | -rw-r--r-- | 2.4 KB |
support.js | -rw-r--r-- | 843 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...