from a clang analyzer warning.
- Fix setup of ssl context copy, to check for the tls service
pem option for stat calls.
+ - Fix to compile the shm code when there is no shmget.
16 April 2026: Yorgos
- Merge #1406: Introduce new 'tls-protocols' configuration option.
#endif /* HAVE_SHMGET */
}
+#ifdef HAVE_SHMGET
/** Copy general info into the stat structure. */
static void
shm_general_info(struct worker* worker)
shm_stat->mem.dynlib = (long long)mod_get_mem(&worker->env, "dynlib");
#endif
}
+#endif /* HAVE_SHMGET */
+#ifdef HAVE_SHMGET
/** See if the thread is first. Caller has lock. */
static int
shm_thread_is_first(struct shm_main_info* shm_info, int thread_num,
}
return 0;
}
+#endif /* HAVE_SHMGET */
+#ifdef HAVE_SHMGET
/** See if the thread is last. Caller has lock. */
static int
shm_thread_is_last(struct daemon* daemon)
}
return 1;
}
+#endif /* HAVE_SHMGET */
void shm_main_run(struct worker *worker)
{