defined MIO_FEATURE_MUX and MIO_FEATURE_LOG

This commit is contained in:
2021-07-17 20:05:16 +00:00
parent b0040b8454
commit 487a0d19a0
11 changed files with 56 additions and 19 deletions

View File

@ -341,7 +341,7 @@ int main (int argc, char* argv[])
mio_dev_sck_connect_t tcp_conn;
tcp_server_t* ts;
mio = mio_open(&mmgr, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(&mmgr, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");

View File

@ -1025,7 +1025,7 @@ int main (int argc, char* argv[])
SSL_library_init ();
#endif
mio = mio_open(&mmgr, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(&mmgr, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");

View File

@ -215,7 +215,7 @@ int main (int argc, char* argv[])
fprintf (stderr, "Usage: %s ipaddr:port\n", argv[0]);
return -1;
}
mio = mio_open(&mmgr, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(&mmgr, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");

View File

@ -161,7 +161,7 @@ int main (int argc, char* argv[])
if (strcmp(argv[i], "--line-comment") == 0) o |= MIO_JSON_LINE_COMMENT;
}
mio = mio_open(MIO_NULL, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(MIO_NULL, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");

View File

@ -73,7 +73,7 @@ int main (int argc, char* argv[])
return -1;
}
mio = mio_open(MIO_NULL, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(MIO_NULL, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");

View File

@ -218,7 +218,7 @@ void* thr_func (void* arg)
mio_svc_htts_t* htts = MIO_NULL;
mio_dev_sck_bind_t htts_bind_info;
mio = mio_open(MIO_NULL, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(MIO_NULL, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");
@ -570,7 +570,7 @@ int main (int argc, char* argv[])
XX_MQ_INIT (&xx_mq);
xx_tmridx = MIO_TMRIDX_INVALID;
mio = mio_open(MIO_NULL, 0, MIO_NULL, 512, MIO_NULL);
mio = mio_open(MIO_NULL, 0, MIO_NULL, MIO_FEATURE_ALL, 512, MIO_NULL);
if (!mio)
{
printf ("Cannot open mio\n");