[PATCH 09/18] Removed nxt_always_inline from nxt_h1p_request_error().
Alejandro Colomar
alx.manpages at gmail.com
Thu Jun 2 18:05:03 UTC 2022
We shouldn't be forcing the inline of a function that is only run
in error cases (slow path).
---
src/nxt_h1proto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index e4a12a3..4f9ab4d 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -60,8 +60,8 @@ static void nxt_h1p_conn_request_timeout(nxt_task_t *task, void *obj,
void *data);
static void nxt_h1p_conn_request_send_timeout(nxt_task_t *task, void *obj,
void *data);
-nxt_always_inline static inline void nxt_h1p_request_error(nxt_task_t *task,
- nxt_h1proto_t *h1p, nxt_http_request_t *r);
+static inline void nxt_h1p_request_error(nxt_task_t *task, nxt_h1proto_t *h1p,
+ nxt_http_request_t *r);
static void nxt_h1p_request_close(nxt_task_t *task, nxt_http_proto_t proto,
nxt_socket_conf_joint_t *joint);
static void nxt_h1p_conn_sent(nxt_task_t *task, void *obj, void *data);
--
2.36.1
More information about the unit
mailing list