diff options
author | Liao Tonglang <liaotonglang@gmail.com> | 2023-03-05 23:59:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 16:59:21 +0100 |
commit | 6bfa58055919a12acec070cdecef1bfb69f4e4d2 (patch) | |
tree | 8d831e0f74e2cd609879e8e8f6d89fb03d947386 /mm-internal.h | |
parent | 185e2f009bbffff9bfa2f4d633ddbea777ab111b (diff) | |
download | libevent-6bfa58055919a12acec070cdecef1bfb69f4e4d2.tar.gz |
http: Reduce times of checking if response has body (#1395)
Use a variable 'need_body' to store the result of
evhttp_response_needs_body(), then use the variable instead of call the function again.
Diffstat (limited to 'mm-internal.h')
0 files changed, 0 insertions, 0 deletions