Check-in [773268af3c]
Overview
Comment:Fixed call to wrong function for finding end of HTTP path
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 773268af3c51598d9ffc97dcb0e8ee598da4477a
User & Date: rkeene on 2014-02-18 03:45:11
Other Links: manifest | tags
Context
2014-02-18
03:47
Added vhost support check-in: 3298334221 user: rkeene tags: trunk
03:45
Fixed call to wrong function for finding end of HTTP path check-in: 773268af3c user: rkeene tags: trunk
2014-02-12
19:19
Updated to terminate malformed requests without newlines check-in: b16389c222 user: rkeene tags: trunk
Changes

Modified filed.c from [4e1ed3be61] to [91c2968a74].

658
659
660
661
662
663
664
665

666
667
668
669
670
671
672
658
659
660
661
662
663
664

665
666
667
668
669
670
671
672







-
+








	*buffer = '\0';
	buffer++;

	path = buffer;

	/* Terminate path component */
	buffer = strstr(buffer, "\r\n ");
	buffer = strpbrk(buffer, "\r\n ");
	if (buffer != NULL) {
		*buffer = '\0';
		buffer++;
	}

	/* We only handle the "GET" and "HEAD' methods */
	if (strcasecmp(method, "head") != 0) {