// File: fltflt[P]Tinyhttpd_with_threadpool_epoll/httpd.cpp
// Function: unimplemented(int)
void unimplemented(int client)
{
	char buf[1024];
//发送501说明相应方法没有实现
	sprintf(buf, "HTTP/1.0 501 Method Not Implemented\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, SERVER_STRING);
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "Content-Type: text/html\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "<HTML><HEAD><TITLE>Method Not Implemented\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "</TITLE></HEAD>\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "<BODY><P>HTTP request method not supported.\r\n");
	send(client, buf, strlen(buf), 0);
	sprintf(buf, "</BODY></HTML>\r\n");
	send(client, buf, strlen(buf), 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x490, %rsp            # imm = 0x490
movl %edi, -0x4(%rbp)
leaq -0x410(%rbp), %rdi
leaq 0xb60d(%rip), %rsi      # 0xf2c9
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x48c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x488(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x48c(%rbp), %edi
movq -0x488(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb4a8(%rip), %rsi      # 0xf1b3
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x47c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x478(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x47c(%rbp), %edi
movq -0x478(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb472(%rip), %rsi      # 0xf1cc
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x46c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x468(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x46c(%rbp), %edi
movq -0x468(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb5af(%rip), %rsi      # 0xf358
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x45c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x458(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x45c(%rbp), %edi
movq -0x458(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb4f7(%rip), %rsi      # 0xf2ef
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x44c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x448(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x44c(%rbp), %edi
movq -0x448(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb4d4(%rip), %rsi      # 0xf31b
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x43c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x438(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x43c(%rbp), %edi
movq -0x438(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb497(%rip), %rsi      # 0xf32d
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x42c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x428(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x42c(%rbp), %edi
movq -0x428(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
leaq -0x410(%rbp), %rdi
leaq 0xb3b2(%rip), %rsi      # 0xf297
movb $0x0, %al
callq 0x3070
movl -0x4(%rbp), %eax
movl %eax, -0x41c(%rbp)
leaq -0x410(%rbp), %rax
movq %rax, -0x418(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x3170
movl -0x41c(%rbp), %edi
movq -0x418(%rbp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31d0
addq $0x490, %rsp            # imm = 0x490
popq %rbp
retq
nop