Check-in [650305e94f]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Disable load-control for the /xfer page. This prevents real users with passwords from being denied autosync because of some misbehaving spider.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 650305e94f076c8de9907a3ea766cf973ffd2201a33c7529e665307c98cfaf7a
User & Date: drh 2024-03-11 16:39:23.346
Context
2024-03-11
19:20
On the header for a /timeline that uses the new to2= query parameter, use the value of either the to= or the to2= query parameter, whichever is valid. check-in: 452f050241 user: drh tags: trunk
16:39
Disable load-control for the /xfer page. This prevents real users with passwords from being denied autosync because of some misbehaving spider. check-in: 650305e94f user: drh tags: trunk
2024-03-09
19:17
Add the to2=LABEL query parameter to timeline. This is intended as a backup name for to=END in case the END label cannot be resolved. check-in: 1ff12ea630 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/xfer.c.
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
/*
** The CGI/HTTP preprocessor always redirects requests with a content-type
** of application/x-fossil or application/x-fossil-debug to this page,
** regardless of what path was specified in the HTTP header.  This allows
** clone clients to specify a URL that omits default pathnames, such
** as "http://fossil-scm.org/" instead of "http://fossil-scm.org/index.cgi".
**
** WEBPAGE: xfer  raw-content
**
** This is the transfer handler on the server side.  The transfer
** message has been uncompressed and placed in the g.cgiIn blob.
** Process this message and form an appropriate reply.
*/
void page_xfer(void){
  int isPull = 0;







|







1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
/*
** The CGI/HTTP preprocessor always redirects requests with a content-type
** of application/x-fossil or application/x-fossil-debug to this page,
** regardless of what path was specified in the HTTP header.  This allows
** clone clients to specify a URL that omits default pathnames, such
** as "http://fossil-scm.org/" instead of "http://fossil-scm.org/index.cgi".
**
** WEBPAGE: xfer  raw-content  loadavg-exempt
**
** This is the transfer handler on the server side.  The transfer
** message has been uncompressed and placed in the g.cgiIn blob.
** Process this message and form an appropriate reply.
*/
void page_xfer(void){
  int isPull = 0;