ObjFW  Diff

Differences From Artifact [ce19d575cc]:

To Artifact [80673ced7f]:


42
43
44
45
46
47
48






49
50
51
52
53
54
55

#define BUFFER_SIZE 1024

/*
 * FIXME: Key normalization replaces headers like "DNT" with "Dnt".
 * FIXME: Errors are not reported to the user.
 */







static const char*
status_code_to_string(short code)
{
	switch (code) {
	case 100:
		return "Continue";







>
>
>
>
>
>







42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

#define BUFFER_SIZE 1024

/*
 * FIXME: Key normalization replaces headers like "DNT" with "Dnt".
 * FIXME: Errors are not reported to the user.
 */

@interface OFHTTPServer (OF_PRIVATE_CATEGORY)
- (bool)OF_socket: (OFTCPSocket*)socket
  didAcceptSocket: (OFTCPSocket*)clientSocket
	exception: (OFException*)exception;
@end

static const char*
status_code_to_string(short code)
{
	switch (code) {
	case 100:
		return "Continue";