Merge branch 'master' of https://github.com/sogou/workflow into nossl

This commit is contained in:
Xie Han
2024-03-21 16:50:21 +08:00
3 changed files with 3 additions and 5 deletions

View File

@@ -324,9 +324,7 @@ void ComplexHttpTask::check_response()
if (this->state == WFT_STATE_SYS_ERROR && this->error == ECONNRESET)
{
/* Servers can end the message by closing the connection. */
if (resp->is_header_complete() &&
!resp->is_keep_alive() &&
!resp->is_chunked() &&
if (resp->is_header_complete() && !resp->is_chunked() &&
!resp->has_content_length_header())
{
this->state = WFT_STATE_SUCCESS;

View File

@@ -107,7 +107,7 @@ public:
{
e = list_entry(pos, Handle, list);
assert(e->ref == 1);
rb_erase(&e->rb);
rb_erase(&e->rb, &this->cache_map);
this->erase_node(e);
}
}

View File

@@ -1,5 +1,5 @@
set_project("workflow")
set_version("0.10.6")
set_version("0.11.3")
option("workflow_inc", {description = "workflow inc", default = "$(projectdir)/_include"})
option("workflow_lib", {description = "workflow lib", default = "$(projectdir)/_lib"})