cmogstored 1.8.1 - use default system stack size
[cmogstored.git] / http.h
blob33307606994063113e3fbb1a00fe2ef53950e97e
1 /*
2 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
3 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
4 */
5 #include "iov_str.h"
6 void mog_http_resp0(struct mog_fd *, struct iovec *status, bool alive);
8 #define mog_http_resp(mfd,conststr,alive) do { \
9 struct iovec statustmp; \
10 IOV_STR(&statustmp, (conststr)); \
11 mog_http_resp0((mfd), &statustmp, (alive)); \
12 } while (0)