Commit e024e5b
committed
When a SPA dev server (or prerendering build) takes too long to start up, only fail current request, not future requests. Fixes aspnet#1447
1 parent 25be429 commit e024e5bCopy full SHA for e024e5b
File tree
Expand file treeCollapse file tree
7 files changed
+75
-40
lines changedOpen diff view settings
Filter options
- src/Microsoft.AspNetCore.SpaServices.Extensions
- AngularCli
- Prerendering
- Proxying
- ReactDevelopmentServer
- Util
Expand file treeCollapse file tree
7 files changed
+75
-40
lines changedOpen diff view settings
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/AngularCli/AngularCliBuilder.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/AngularCli/AngularCliBuilder.cs+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | 23 | |
25 | 24 | |
26 | 25 | |
| ||
63 | 62 | |
64 | 63 | |
65 | 64 | |
66 | | - |
67 | | - |
| 65 | + |
68 | 66 | |
69 | 67 | |
70 | 68 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/AngularCli/AngularCliMiddleware.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/AngularCli/AngularCliMiddleware.cs+11-10Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
15 | 16 | |
16 | 17 | |
17 | 18 | |
| ||
49 | 50 | |
50 | 51 | |
51 | 52 | |
52 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
53 | 62 | |
54 | 63 | |
55 | 64 | |
| ||
68 | 77 | |
69 | 78 | |
70 | 79 | |
71 | | - |
72 | | - |
| 80 | + |
73 | 81 | |
74 | 82 | |
75 | 83 | |
| ||
78 | 86 | |
79 | 87 | |
80 | 88 | |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | 89 | |
89 | 90 | |
90 | 91 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs+11-2Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
9 | 10 | |
10 | 11 | |
11 | 12 | |
| ||
23 | 24 | |
24 | 25 | |
25 | 26 | |
| 27 | + |
| 28 | + |
26 | 29 | |
27 | 30 | |
28 | 31 | |
| ||
85 | 88 | |
86 | 89 | |
87 | 90 | |
88 | | - |
| 91 | + |
89 | 92 | |
90 | | - |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
91 | 100 | |
92 | 101 | |
93 | 102 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/Proxying/SpaProxyingExtensions.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/Proxying/SpaProxyingExtensions.cs+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
49 | 49 | |
50 | 50 | |
51 | 51 | |
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
75 | | - |
| 75 | + |
76 | 76 | |
77 | 77 | |
78 | 78 | |
79 | | - |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/ReactDevelopmentServer/ReactDevelopmentServerMiddleware.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/ReactDevelopmentServer/ReactDevelopmentServerMiddleware.cs+11-10Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
48 | 49 | |
49 | 50 | |
50 | 51 | |
51 | | - |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
52 | 61 | |
53 | 62 | |
54 | 63 | |
| ||
75 | 84 | |
76 | 85 | |
77 | 86 | |
78 | | - |
79 | | - |
| 87 | + |
80 | 88 | |
81 | 89 | |
82 | 90 | |
| ||
85 | 93 | |
86 | 94 | |
87 | 95 | |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | 96 | |
96 | 97 | |
97 | 98 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/Util/EventedStreamReader.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SpaServices.Extensions/Util/EventedStreamReader.cs+1-10Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | 75 | |
85 | 76 | |
86 | 77 | |
|
Collapse file
src/Microsoft.AspNetCore.SpaServices.Extensions/Util/TaskTimeoutExtensions.cs
Copy file name to clipboard+35Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
0 commit comments