Implemented SigV4A (#40)

* Implemented should_sign_header callback

* Added SigV4A to SigningAlgorithm

* Added SigV4A test

* Added debugging info to README

* Fixed memory leak from argument vectors

* Fixed memory leak of stream read buffers

* Added support for callables as option values

* Added should_sign_header support and test

* Fixed ELG type bug exposed by aws-crt-ffi change

* Updated to aws-crt-ffi v0.2.0
This commit is contained in:
Justin Boswell
2021-07-28 12:54:37 -07:00
committed by GitHub
parent 3f77a01fbf
commit 92724b8d51
17 changed files with 361 additions and 132 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ PHP_FUNCTION(aws_crt_http_message_to_blob) {
aws_crt_http_message *message = (void *)php_msg;
aws_crt_buf blob;
aws_crt_http_message_to_blob(message, &blob);
RETURN_STRINGL((const char *)blob.blob, blob.length);
XRETURN_STRINGL((const char *)blob.blob, blob.length);
}
PHP_FUNCTION(aws_crt_http_message_release) {