Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
New windowing + larger io messages by default
  • Loading branch information
bretambrose committed Jul 23, 2020
commit 8ca6a7e2ed0afa8d901c722ec9db4ba5f849c090
2 changes: 1 addition & 1 deletion aws-common-runtime/aws-c-common
Submodule aws-c-common updated 1010 files
4 changes: 4 additions & 0 deletions src/native/crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <aws/common/thread.h>
#include <aws/http/connection.h>
#include <aws/http/http.h>
#include <aws/io/channel.h>
#include <aws/io/io.h>
#include <aws/io/logging.h>
#include <aws/io/tls_channel_handler.h>
Expand Down Expand Up @@ -217,6 +218,8 @@ static void s_jni_atexit(void) {
}
}

#define KB_256 (256 * 1024)

/* Called as the entry point, immediately after the shared lib is loaded the first time by JNI */
JNIEXPORT
void JNICALL Java_software_amazon_awssdk_crt_CRT_awsCrtInit(
Expand All @@ -234,6 +237,7 @@ void JNICALL Java_software_amazon_awssdk_crt_CRT_awsCrtInit(
}

g_memory_tracing = jni_memtrace;
g_aws_channel_max_fragment_size = KB_256;

/* check to see if we have support for backtraces only if we need to */
void *stack[1];
Expand Down
2 changes: 1 addition & 1 deletion src/native/http_connection_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void aws_http_proxy_options_jni_clean_up(
}

if (options->tls_options != NULL) {
aws_tls_connection_options_clean_up(options->tls_options);
aws_tls_connection_options_clean_up((struct aws_tls_connection_options *)options->tls_options);
}
}

Expand Down