aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-12-09 08:58:47 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-12-09 08:58:47 -0800
commit25fd57117d2c6849d48b1bac1eccd5b6223bc3a2 (patch)
tree954602332a6855a68099bb3c3edee7cda6dca8fe /src
parentf4786c236115727c83bacb441a0558ce5c28ce8d (diff)
Catch bad timeout handling
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/chttp2/parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/parsing.c b/src/core/transport/chttp2/parsing.c
index eb2cb6b4c2..7604e7b681 100644
--- a/src/core/transport/chttp2/parsing.c
+++ b/src/core/transport/chttp2/parsing.c
@@ -604,7 +604,7 @@ static void on_initial_header(void *tp, grpc_mdelem *md) {
cached_timeout)) {
gpr_log(GPR_ERROR, "Ignoring bad timeout value '%s'",
grpc_mdstr_as_c_string(md->value));
- *cached_timeout = gpr_inf_future(GPR_CLOCK_REALTIME);
+ *cached_timeout = gpr_inf_future(GPR_TIMESPAN);
}
grpc_mdelem_set_user_data(md, free_timeout, cached_timeout);
}