File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,24 @@ See "Security" section of :cite[gateway-detection].
9797
9898### Alternatives
9999
100- N/A. This IPIP covers both environment variable and configuration file.
100+ #### Browser Environment Detection
101+
102+ Detection via browser APIs (e.g., ` localStorage.getItem('IPFS_GATEWAY') ` ) was
103+ considered but is explicitly out of scope. Any JavaScript running on a page
104+ could overwrite such values and hijack gateway requests. Browser-based detection
105+ requires a separate IPIP with proper security review.
106+
107+ #### Gateway Health Checking
108+
109+ This specification does not mandate health checking of detected gateways.
110+ Implementations MAY verify that a gateway is responsive before using it,
111+ but the specific approach is left to implementers.
112+
113+ #### Stale Gateway File Handling
114+
115+ If a daemon crashes without removing the ` gateway ` file, it may contain a stale
116+ URL. This specification does not mandate specific handling. Implementations MAY
117+ implement timeout-based health checks or other recovery mechanisms.
101118
102119### Copyright
103120
You can’t perform that action at this time.
0 commit comments