TSG-23335 TFE适配AArch64架构

This commit is contained in:
luwenpeng
2024-11-13 15:08:03 +08:00
parent 595167dcf8
commit 2e69e0edd8
18 changed files with 191 additions and 93 deletions

View File

@@ -3,7 +3,7 @@
static const char base64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
static const char index_64[128] =
static const signed char index_64[128] =
{
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,

View File

@@ -43,13 +43,13 @@ enum _log_action
#define get_time_ms(tv) ((long long)(tv.tv_sec) * 1000 + (long long)(tv.tv_usec) / 1000)
#include "uuid_v4.h"
UUIDv4::UUIDGenerator<std::mt19937_64> uuidGenerator;
// #include "uuid_v4.h"
// UUIDv4::UUIDGenerator<std::mt19937_64> uuidGenerator;
void get_http_body_uuid(char *uuid)
{
UUIDv4::UUID uid = uuidGenerator.getUUID();
uid.str(uuid);
// UUIDv4::UUID uid = uuidGenerator.getUUID();
// uid.str(uuid);
return;
}

View File

@@ -2417,7 +2417,7 @@ static int http2_server_on_data_chunk_recv(nghttp2_session *session, uint8_t fla
if (req->h2_payload.encode_type != HTTP2_CONTENT_ENCODING_NONE){
ret = http2_decompress_stream(input, input_len, &uncompr, &uncompr_len,
&req->h2_payload.inflate, req->h2_payload.encode_type);
if (((ret == Z_STREAM_END) || (ret == Z_OK)) && uncompr > 0){
if (((ret == Z_STREAM_END) || (ret == Z_OK)) && uncompr_len > 0){
input = (const uint8_t*)uncompr;
input_len = uncompr_len;
}