Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MB-3447 - binary protocol err handling

Need to schedule the upstream conn into libevent so the error response
actually gets written to socket.

Change-Id: Id058e9dc84beeb2b109b99787b1ee9fc35dbbb38
  • Loading branch information...
commit 34e74ee20ea0de70d2675999ba0eaeb0adf0c28b 1 parent 57a5349
Steve Yen steveyen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  cproxy.c
2  cproxy.c
View
@@ -1958,6 +1958,8 @@ void upstream_error_msg(conn *uc, char *ascii_msg) {
assert(IS_BINARY(uc->protocol));
write_bin_error(uc, PROTOCOL_BINARY_RESPONSE_ENOMEM, 0);
+
+ update_event(uc, EV_WRITE | EV_PERSIST);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.