Skip to content

Commit

Permalink
http: repair hanging communication with MAPI/RPC connections
Browse files Browse the repository at this point in the history
OL2010 and OL2013 could get stuck on login.

Fixes: gromox-2.13-49-ga765e2384
References: GXL-304
  • Loading branch information
jengelh committed Oct 31, 2023
1 parent 1f0c042 commit e375538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Development 2.16.2
Development 2.16.8
==================

Fixes:

* http: repair hanging communication with MAPI/RPC connections
* oxcmail: reinstate read requests for non-IPM.Schedule messages


Expand Down
3 changes: 2 additions & 1 deletion exch/http/http_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,8 @@ static tproc_status htparse_wrrep_nobuf(http_context *pcontext)
pcontext->stream_out.clear();
return tproc_status::cont;
}
} else {
} else if (pcontext->request.imethod != http_method::rpcin &&
pcontext->request.imethod != http_method::rpcout) {
if (pcontext->stream_out.get_total_length() == 0) {
if (pcontext->b_close)
return tproc_status::runoff;
Expand Down

0 comments on commit e375538

Please sign in to comment.