Commit Graph

  • 43e6cab879 Fix potential NULL dereference peter15914 2025-01-02 02:07:31 +05:00
  • 044b30386f Reduce buffer size for signed integer, strlen(-9223372036854775808) = 20 + 1 for '\0' Bentley O'Kane-Chase 2024-12-17 11:07:58 +10:00
  • 35c5988027 Formatting improvements Bentley O'Kane-Chase 2024-12-17 11:06:47 +10:00
  • 138d07b67c Print cursor as unsigned 64 bit integer Bentley O'Kane-Chase 2024-12-16 10:29:24 +10:00
  • f68544f703 Refactor and avoid allocation in rawcommand method Jakub Onderka 2024-12-09 17:25:51 +01:00
  • 42a427695e Use defines for callback growth + sanity check michael-grunder 2024-12-09 12:38:27 -08:00
  • a551fdc94c Switch from linked list to growing array for reply callbacks Jakub Onderka 2024-12-05 16:07:05 +01:00
  • be38856205 Reuse redis_sock_append_auth method Jakub Onderka 2024-12-01 10:01:59 +01:00
  • 571ffbc8e0 Switch pipeline_cmd from smart_str to smart_string Jakub Onderka 2024-12-01 09:36:21 +01:00
  • 7895636a3a Remove unused redis_debug_response method from library.c Jakub Onderka 2024-11-27 10:00:20 +01:00
  • 2434ba294c Optimise HMGET method Jakub Onderka 2024-11-24 18:22:02 +01:00
  • aba09933db Avoid unnecessary allocation in redis_hset_cmd Jakub Onderka 2024-11-24 13:38:54 +01:00
  • 4082dd07f7 Avoid unnecessary allocation in redis_hdel_cmd Jakub Onderka 2024-11-24 12:48:44 +01:00
  • 99650e1545 Avoid unnecessary allocation in redis_key_varval_cmd Jakub Onderka 2024-11-24 11:19:46 +01:00
  • f6906470a5 Use zval_get_tmp_string method that is faster when provided zval is string Jakub Onderka 2024-11-23 17:02:53 +01:00
  • 2a2f908f2b Optimise constructing Redis command string Jakub Onderka 2024-11-25 14:53:53 +01:00
  • 5156e03202 If no command is issued in multi mode, return immutable empty array Jakub Onderka 2024-11-24 17:17:48 +01:00
  • 426de2bb71 Test for empty pipeline and multi Jakub Onderka 2024-11-24 17:15:58 +01:00
  • 400503b871 Optimise method array_zip_values_and_scores Jakub Onderka 2024-11-22 19:27:00 +01:00
  • 83a19656f4 Faster parameter parsing in redis_key_cmd and redis_key_long_val_cmd Jakub Onderka 2024-11-22 17:47:17 +01:00
  • 3a2f3f45fc Use immutable empty array in Redis::hKeys Jakub Onderka 2024-11-22 16:52:22 +01:00
  • 60b5a8860a Use immutable empty array in Redis::exec Jakub Onderka 2024-11-22 16:51:06 +01:00
  • 64da891e6f Do not allocate empty string or string with one character Jakub Onderka 2024-11-21 15:29:34 +01:00
  • 99beb9221c Initialize arrays with known size Jakub Onderka 2024-11-21 12:27:16 +01:00
  • b665925eed Use smart str for constructing pipeline cmd Jakub Onderka 2024-11-23 12:07:21 +01:00
  • 6097e7ba50 Add PHP 8.4 to CI Pavlo Yatsukhnenko 2024-11-25 16:20:00 +02:00
  • 4cd3f59356 Implement KeyDB's EXPIREMEMBER[AT] commands michael-grunder 2024-11-14 21:44:07 -08:00
  • 8144db3743 better documentation for the $tlsOptions parameter of RedisCluster Jacob Brown 2024-11-04 12:03:42 -06:00
  • 6e9a54a113 Fix NULL dereference on getOption fix/fuzzing-fixes michael-grunder 2024-11-02 15:48:32 -07:00
  • 0fe45d24d4 Fix XAUTOCLAIM argc when sending COUNT michael-grunder 2024-10-16 15:40:17 -07:00
  • 085d61ecfb Create a strncmp wrapper michael-grunder 2024-10-14 10:56:47 -07:00
  • eb66fc9e2f Pin ubuntu version for KeyDB michael-grunder 2024-10-14 16:09:03 -07:00
  • 985b0313fb KeyDB doesn't have a noble release yet. michael-grunder 2024-10-14 12:47:28 -07:00
  • e403d25a99 pool entry wrapper pool-entry Pavlo Yatsukhnenko 2024-10-13 15:54:56 +03:00
  • a53bf38b83 Merge pull request #2557 from cmb69/cmb/win-ci Pavlo Yatsukhnenko 2024-10-08 12:57:37 +03:00
  • 5419cc9c60 Prepare for 6.1.0 GA 6.1.0 michael-grunder 2024-10-03 14:57:39 -07:00
  • 52e69edefd improve package summary and description (#2558) Remi Collet 2024-10-03 20:06:56 +02:00
  • f89d4d8f6e Windows CI: update setup-php-sdk to v0.10 and enable caching Christoph M. Becker 2024-09-30 15:38:44 +02:00
  • 5f241d8913 Merge pull request #2555 from phpredis/issue-redis62 Remi Collet 2024-09-24 16:15:31 +02:00
  • cc1be32294 fix 2 tests with redis 6.2 Remi Collet 2024-09-24 14:47:04 +02:00
  • 0bae4bb044 Fix urls Vincent Langlet 2024-09-23 14:58:24 +02:00
  • 909c5cc13c Finalize 6.1.0RC2 changelog for completeness. (#2554) 6.1.0RC2 Michael Grunder 2024-09-23 13:56:48 -07:00
  • bff3a22e9d fix implicit nullable (8.4) Remi Collet 2024-09-23 07:51:08 +02:00
  • 30c8f90cd9 bump version Remi Collet 2024-09-23 07:50:53 +02:00
  • 9bd2aaace4 Prepare for 6.1.0RC2 michael-grunder 2024-09-22 18:59:58 -07:00
  • b59e35a64f Added a composer.json to enable support for PIE James Titcumb 2024-09-18 20:47:47 +01:00
  • a75a7e5a36 Fix SIGABRT in PHP 8.4 michael-grunder 2024-09-19 14:14:58 -07:00
  • 9d38050093 Upload artifact v2 is deprecated michael-grunder 2024-09-19 14:25:17 -07:00
  • 1af521ac65 Fix random connection timeouts with Redis Cluster 5.3.7-timeout-fix Jozsef Koszo 2024-03-17 07:44:49 +01:00
  • 40c897364f Remove erroneously duplicated changelog entries. michael-grunder 2024-08-05 10:50:00 -07:00
  • 37cebdd70b cleanup code for unsupported versions Remi Collet 2024-08-05 15:08:58 +02:00
  • 8b51942357 Raise minimum supported PHP version to 7.4 michael-grunder 2024-08-05 00:47:05 -07:00
  • e9474b80cb add missing SessionHelpers.php in pecl package Remi Collet 2024-08-05 08:43:01 +02:00
  • ff3d5e3e06 Prepare to tag 6.1.0RC1 michael-grunder 2024-07-30 09:52:54 -07:00
  • 1499a79f68 Prepare to tag 6.1.0RC1 6.1.0RC1 michael-grunder 2024-07-30 09:52:54 -07:00
  • 6ea5b3e08b Fix argument count issue in HSET with associative array, update method signature for HSET and add documentation Viktor Djupsjöbacka 2024-07-17 15:10:41 +03:00
  • 6673b5b2be SRANDMEMBER can return any type because of serialization. michael-grunder 2024-07-13 22:43:51 -07:00
  • 99f9fd8353 Fix HRANDFIELD command when WITHVALUES is used. (#2524) Michael Grunder 2024-07-13 22:42:25 -07:00
  • eeb5109967 Update documentation (#2523) Michael Dwyer 2024-07-11 23:49:29 -05:00
  • 50529f56e4 Context array should be nullable michael-grunder 2024-07-10 11:35:25 -07:00
  • 7de29d57d9 Fix a macOS (M1) compiler warning. michael-grunder 2024-07-07 19:20:36 -07:00
  • 981c69314d Add GETEX to README docs + minor change to command. michael-grunder 2024-06-20 11:29:42 -07:00
  • 74f9e80516 Merge pull request #2513 from phpredis/script-command Pavlo Yatsukhnenko 2024-06-20 21:45:17 +03:00
  • 7c551424b6 Refactor redis_script_cmd Pavlo Yatsukhnenko 2024-06-20 21:05:20 +03:00
  • 57304970cd PHP might throw a fatal error if we send no args to exists (#2510) Michael Grunder 2024-06-18 16:05:21 -07:00
  • b1771defdc More unit test utility functions/usage. (#2509) Michael Grunder 2024-06-18 14:53:22 -07:00
  • b808cc60ed Update tests so they can run in php-cgi. michael-grunder 2024-06-17 10:42:47 -07:00
  • 7050c98909 Play around with more ZEND_STRL usage (#2505) Michael Grunder 2024-06-15 14:48:30 -07:00
  • d3b2d87b10 Don't use $k1 as a variable name. michael-grunder 2024-06-01 17:21:06 -07:00
  • f8c762e70b Use ZEND_STRL where appropriate. michael-grunder 2024-06-01 13:13:07 -07:00
  • c139de3aba We don't need to use a ranom value for our ECHO liveness challenge. michael-grunder 2024-06-01 13:09:30 -07:00
  • dab6a62d34 Code formatting michael-grunder 2024-05-30 11:46:36 -07:00
  • c6cd665bde Code formatting michael-grunder 2024-05-30 11:46:36 -07:00
  • 78b70ca8f4 More test refactoring. michael-grunder 2024-05-29 22:12:15 -07:00
  • 0d89e92889 Spelling fixes michael-grunder 2024-05-28 20:39:58 -07:00
  • e18f6c6d9e Minor refactor michael-grunder 2024-05-28 20:20:11 -07:00
  • 3c125b09f4 More unit test cleanup. michael-grunder 2024-05-28 12:17:39 -07:00
  • 18b0da727b Update unit test assertions. michael-grunder 2024-05-24 12:07:10 -07:00
  • b88e72b1e6 Refactor session tests (#2492) Michael Grunder 2024-05-23 09:43:36 -07:00
  • d68c30f87d Remove Windows PHP 7.x jobs michael-grunder 2024-05-16 10:22:23 -07:00
  • 34b5bd81ef Rework how we declare ZSTD min/max constants. michael-grunder 2024-05-13 21:05:04 -07:00
  • f865d5b95d fix missing <code> tags divinity76 2024-05-08 14:01:03 +02:00
  • 0f94d9c1c6 Relax timing test slightly michael-grunder 2024-05-09 21:30:17 -07:00
  • c0d6f04298 Minor improvements to some session tests. michael-grunder 2024-05-09 14:05:32 -07:00
  • f350dc342c Test aginst the first stable version of valkey. michael-grunder 2024-04-16 11:17:37 -07:00
  • 3d7be35816 Consolidate failure path michael-grunder 2024-04-07 13:52:24 -07:00
  • 0e92616591 Fix memory leak if we fail in ps_open_redis. michael-grunder 2024-04-06 15:19:35 -07:00
  • 9f3ca98c00 Add a test for session compression. michael-grunder 2024-04-08 19:37:12 -07:00
  • 2b555c89ef Minor session compression cleanup. michael-grunder 2024-04-08 14:31:15 -07:00
  • dc39bd55a0 Remove 7.2 and 7.3 from CI. (#2478) Michael Grunder 2024-04-08 14:53:27 -07:00
  • da4ab0a72c Add compression support for PHP Sessions (#2473) bitactive 2024-04-08 23:40:15 +02:00
  • 5f1eecfba6 Mention Valkey support PlavorSeol 2024-04-09 02:58:50 +09:00
  • 59965971bb Add a CI step that waits for server instances before running tests michael-grunder 2024-04-07 14:39:41 -07:00
  • a819a44b83 Test against valkey michael-grunder 2024-04-06 16:17:45 -07:00
  • 828dc11c98 Clarify RedisCluster multi docs. update-cluster-multi-docs michael-grunder 2024-03-28 13:34:39 -07:00
  • b698901818 Support for early_refresh in Redis sessions to match cluster behavior Bitactive 2024-03-28 13:39:35 +01:00
  • eb7f31e7af Fix random connection timeouts with Redis Cluster Jozsef Koszo 2024-03-17 07:44:49 +01:00
  • 8323ddff80 Merge pull request #2471 from phpredis/dump-arginfo-zpp-mismatch Pavlo Yatsukhnenko 2024-03-25 20:17:28 +02:00
  • 50e5405c03 Fix Arginfo / zpp mismatch for DUMP command Pavlo Yatsukhnenko 2024-03-25 19:28:29 +02:00
  • 37fa3592ce Mention KeyDB support in README.md Tim Starling 2024-03-25 08:35:09 +11:00