Fossil SCM

Disable load-control for the /xfer page. This prevents real users with passwords from being denied autosync because of some misbehaving spider.

drh 2024-03-11 16:39 trunk
Commit 650305e94f076c8de9907a3ea766cf973ffd2201a33c7529e665307c98cfaf7a
1 file changed +1 -1
+1 -1
--- src/xfer.c
+++ src/xfer.c
@@ -1189,11 +1189,11 @@
11891189
** of application/x-fossil or application/x-fossil-debug to this page,
11901190
** regardless of what path was specified in the HTTP header. This allows
11911191
** clone clients to specify a URL that omits default pathnames, such
11921192
** as "http://fossil-scm.org/" instead of "http://fossil-scm.org/index.cgi".
11931193
**
1194
-** WEBPAGE: xfer raw-content
1194
+** WEBPAGE: xfer raw-content loadavg-exempt
11951195
**
11961196
** This is the transfer handler on the server side. The transfer
11971197
** message has been uncompressed and placed in the g.cgiIn blob.
11981198
** Process this message and form an appropriate reply.
11991199
*/
12001200
--- src/xfer.c
+++ src/xfer.c
@@ -1189,11 +1189,11 @@
1189 ** of application/x-fossil or application/x-fossil-debug to this page,
1190 ** regardless of what path was specified in the HTTP header. This allows
1191 ** clone clients to specify a URL that omits default pathnames, such
1192 ** as "http://fossil-scm.org/" instead of "http://fossil-scm.org/index.cgi".
1193 **
1194 ** WEBPAGE: xfer raw-content
1195 **
1196 ** This is the transfer handler on the server side. The transfer
1197 ** message has been uncompressed and placed in the g.cgiIn blob.
1198 ** Process this message and form an appropriate reply.
1199 */
1200
--- src/xfer.c
+++ src/xfer.c
@@ -1189,11 +1189,11 @@
1189 ** of application/x-fossil or application/x-fossil-debug to this page,
1190 ** regardless of what path was specified in the HTTP header. This allows
1191 ** clone clients to specify a URL that omits default pathnames, such
1192 ** as "http://fossil-scm.org/" instead of "http://fossil-scm.org/index.cgi".
1193 **
1194 ** WEBPAGE: xfer raw-content loadavg-exempt
1195 **
1196 ** This is the transfer handler on the server side. The transfer
1197 ** message has been uncompressed and placed in the g.cgiIn blob.
1198 ** Process this message and form an appropriate reply.
1199 */
1200

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button