Commit 3d76f80
Glyn Normington
[#59817096]Support Errno::ENETUNREACH
The internet availability check was failing because Errno::ENETUNREACH
was not being handled.
This fix adds Errno::ENETUNREACH and a number of other network-related
exceptions to the set being handled. When these errors are caught on
the first download attempt in a buildpack invocation (detect, compile,
or release), the internet is deemed to be inaccessible and a look-
aside is performed in the (currently read-only, but pre-populated)
buildpack cache.
See https://www.pivotaltracker.com/s/projects/803319/stories/58941750
for background.
[#59817096]1 parent e65629e commit 3d76f80
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
358 | 375 | | |
359 | 376 | | |
360 | 377 | | |
| |||
0 commit comments