Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/tmp/
/hiredis-client/tmp/
/bin/toxiproxy-server
*.a
*.o
*.so
*.bundle
*.dll
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end

namespace :hiredis do
task :download do
version = "1.0.2"
version = "1.2.0"
archive_path = "tmp/hiredis-#{version}.tar.gz"
url = "https://github.com/redis/hiredis/archive/refs/tags/v#{version}.tar.gz"
system("curl", "-L", url, out: archive_path) or raise "Downloading of #{url} failed"
Expand Down
4 changes: 2 additions & 2 deletions hiredis-client/ext/redis_client/hiredis/hiredis_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static void hiredis_init_ssl(hiredis_connection_t *connection, VALUE ssl_param)
hiredis_raise_error_and_disconnect(connection, rb_eRedisClientCannotConnectError);
}

redisSSL *redis_ssl = redisGetSSLSocket(connection->context);
redisSSL *redis_ssl = patch_redisGetSSLSocket(connection->context);

if (redis_ssl->wantRead) {
int readable = 0;
Expand All @@ -556,7 +556,7 @@ static void hiredis_init_ssl(hiredis_connection_t *connection, VALUE ssl_param)
hiredis_raise_error_and_disconnect(connection, rb_eRedisClientReadTimeoutError);
}

if (redisInitiateSSLContinue(connection->context) != REDIS_OK) {
if (patch_redisInitiateSSLContinue(connection->context) != REDIS_OK) {
hiredis_raise_error_and_disconnect(connection, rb_eRedisClientCannotConnectError);
};
}
Expand Down
9 changes: 0 additions & 9 deletions hiredis-client/ext/redis_client/hiredis/vendor/.gitignore

This file was deleted.

131 changes: 0 additions & 131 deletions hiredis-client/ext/redis_client/hiredis/vendor/.travis.yml

This file was deleted.

Loading