We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef2004 commit 1e5b129Copy full SHA for 1e5b129
src/asynchronous/server.rs
@@ -305,13 +305,19 @@ async fn handle_request(
305
if let Err(x) = respond_with_status(tx.clone(), header.stream_id, status).await {
306
error!("respond get error {:?}", x);
307
}
308
+
309
+ return;
310
311
trace!("Got Message request {:?}", req);
312
313
let path = format!("/{}/{}", req.service, req.method);
314
if let Some(x) = methods.get(&path) {
315
let method = x;
- let ctx = TtrpcContext { fd, mh: header, metadata: context::from_pb(&req.metadata) };
316
+ let ctx = TtrpcContext {
317
+ fd,
318
+ mh: header,
319
+ metadata: context::from_pb(&req.metadata),
320
+ };
321
322
match method.handler(ctx, req).await {
323
Ok((stream_id, body)) => {
0 commit comments