Documentation Source Text

Check-in [12f6c3b314]
Login

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

Overview
Comment:In althttpd.c, add a newline after error message replies.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 12f6c3b31462e260fb3e646e5bfdfaa96723f49767f187476799cc7a8bd6e94b
User & Date: drh 2019-02-27 13:08:53.565
Context
2019-02-27
13:20
Sanitize the search string when doing a search against the changelog. (check-in: 0a969667a7 user: drh tags: trunk)
13:08
In althttpd.c, add a newline after error message replies. (check-in: 12f6c3b314 user: drh tags: trunk)
2019-02-25
16:46
Add a news item for the 3.27.2 release. (check-in: f52168899f user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to misc/althttpd.c.
785
786
787
788
789
790
791


792
793
794
795
796
797
798
  StartResponse("500 Server Malfunction");
  nOut += printf(
    "Content-type: text/plain\r\n"
    "\r\n"
    "Web server malfunctioned; error number %d\n\n", linenum);
  if( zFormat ){
    nOut += vprintf(zFormat, ap);


  }
  MakeLogEntry(0, linenum);
  exit(0);       
}

/*
** Do a server redirect to the document specified.  The document







>
>







785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
  StartResponse("500 Server Malfunction");
  nOut += printf(
    "Content-type: text/plain\r\n"
    "\r\n"
    "Web server malfunctioned; error number %d\n\n", linenum);
  if( zFormat ){
    nOut += vprintf(zFormat, ap);
    printf("\n");
    nOut++;
  }
  MakeLogEntry(0, linenum);
  exit(0);       
}

/*
** Do a server redirect to the document specified.  The document