TSG-23335 TFE适配AArch64架构
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user