Documentation Source Text

Check-in [0faf241992]
Login

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

Overview
Comment:Fix a bug in cookie management in althttpd.c
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0faf24199265e581841802aaafadb7d72be6b534
User & Date: drh 2007-11-21 13:45:06
Context
2007-11-21
14:00
Fix broken links in the SQL Syntax document. CVSTrac ticket #2783. check-in: 4f5adc7af2 user: drh tags: trunk
13:45
Fix a bug in cookie management in althttpd.c check-in: 0faf241992 user: drh tags: trunk
00:25
Add a link to the ZIP archive containing a copy of the website to the download page of the website. Ticket #2781. check-in: be9b5cc65b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to misc/althttpd.c.

576
577
578
579
580
581
582

583
584
585
586
587
588
589
      zMethod);
    MakeLogEntry(0);
    exit(0);
  }

  /* Get all the optional fields that follow the first line.
  */

  while( fgets(zLine,sizeof(zLine),stdin) ){
    char *zFieldName;
    char *zVal;

    nIn += strlen(zLine);
    zFieldName = GetFirstElement(zLine,&zVal);
    if( zFieldName==0 || *zFieldName==0 ) break;







>







576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
      zMethod);
    MakeLogEntry(0);
    exit(0);
  }

  /* Get all the optional fields that follow the first line.
  */
  zCookie = 0;
  while( fgets(zLine,sizeof(zLine),stdin) ){
    char *zFieldName;
    char *zVal;

    nIn += strlen(zLine);
    zFieldName = GetFirstElement(zLine,&zVal);
    if( zFieldName==0 || *zFieldName==0 ) break;