Check-in [c6f597480c]

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

Overview
Comment:Pass the proper socket
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | scgi
Files: files | file ages | folders
SHA1:c6f597480cb58e2056f3ee1d55d8dbb6ab1cdf68
User & Date: bapt 2015-04-24 16:57:43
Context
2015-04-24
17:00
I said the real socket check-in: 28631ced3c user: bapt tags: scgi
16:57
Pass the proper socket check-in: c6f597480c user: bapt tags: scgi
2015-04-23
17:10
Cleanup headers check-in: ac89e3afa7 user: bapt tags: scgi
Changes

Changes to web/main.c.

162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
			err(EXIT_FAILURE, "An error occured");
		}
		if (! (pfd.revents & POLLIN))
			continue;

		clfd = accept(pfd.fd, NULL, NULL);
		if (fork() == 0) {
			client_process(fd);
			/* Not reached */
		}
		close(clfd);
	}
}

int







|







162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
			err(EXIT_FAILURE, "An error occured");
		}
		if (! (pfd.revents & POLLIN))
			continue;

		clfd = accept(pfd.fd, NULL, NULL);
		if (fork() == 0) {
			client_process(cfd);
			/* Not reached */
		}
		close(clfd);
	}
}

int