| | @@ -288,14 +288,20 @@ |
| 288 | 288 | int allowSymlinks; /* Cached "allow-symlinks" option */ |
| 289 | 289 | int mainTimerId; /* Set to fossil_timer_start() */ |
| 290 | 290 | int nPendingRequest; /* # of HTTP requests in "fossil server" */ |
| 291 | 291 | int nRequest; /* Total # of HTTP request */ |
| 292 | 292 | int bAvoidDeltaManifests; /* Avoid using delta manifests if true */ |
| 293 | + |
| 294 | + /* State for communicating specific details between the inbound HTTP |
| 295 | + ** header parser (cgi.c), xfer.c, and http.c. */ |
| 293 | 296 | struct { |
| 294 | | - char *zLoginCard; /* X-Fossil-Xfer-Login request header value */ |
| 295 | | - int bLoginCardHeader; /* If true, emit login cards as HTTP headers |
| 296 | | - ** instead of as part of the payload */ |
| 297 | + char *zLoginCard; /* Inbound X-Fossil-Xfer-Login request header */ |
| 298 | + int bLoginCardHeader; /* If true, emit login cards in outbound |
| 299 | + ** requests as HTTP headers instead of as |
| 300 | + ** part of the payload. Gets activated |
| 301 | + ** on-demand based on xfer traffic |
| 302 | + ** contents. */ |
| 297 | 303 | } syncInfo; |
| 298 | 304 | #ifdef FOSSIL_ENABLE_JSON |
| 299 | 305 | struct FossilJsonBits { |
| 300 | 306 | int isJsonMode; /* True if running in JSON mode, else |
| 301 | 307 | false. This changes how errors are |
| 302 | 308 | |