Adjust benchmark directory,enable HTTP test,rename variables,format codes

This commit is contained in:
lijia
2024-08-16 14:58:19 +08:00
parent cd2a2360fe
commit 3cdfabb683
153 changed files with 1064 additions and 4415 deletions

View File

@@ -1,7 +1,7 @@
#include <string.h>
#include <assert.h>
#include "stellar/http.h"
#include "http_decoder_inc.h"
#include "http_decoder_private.h"
char *safe_dup(const char *str, size_t len)
{
@@ -164,7 +164,8 @@ int http_event_is_req(enum http_event event)
return -1;
}
int stellar_session_mq_get_topic_id_reliable(struct stellar *st, const char *topic_name, stellar_msg_free_cb_func *msg_free_cb, void *msg_free_arg)
int stellar_session_mq_get_topic_id_reliable(struct stellar *st, const char *topic_name,
stellar_msg_free_cb_func *msg_free_cb, void *msg_free_arg)
{
int topic_id = stellar_mq_get_topic_id(st, topic_name);
if (topic_id < 0)