Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] http_conn::process_write 此处应该是无资源状态,原状态未对404无资源情况进行处理 #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http/http_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ bool http_conn::process_write(HTTP_CODE ret)
return false;
break;
}
case BAD_REQUEST:
case NO_RESOURCE:
{
add_status_line(404, error_404_title);
add_headers(strlen(error_404_form));
Expand Down