summaryrefslogtreecommitdiff
path: root/ext/socket/ipsocket.c
AgeCommit message (Expand)Author
5 hoursFix `heap-use-after-free` in `free_fast_fallback_getaddrinfo_entry` (#13231)Misaki Shioi
2025-04-13Fix typos `finised` -> `finished` (#13104)Haruna Tsujita
2025-03-15Fix crash in TCPSocket.openLuke Jahnke
2025-02-18Tweak: Add prefix to non-static function names (#12764)Misaki Shioi
2025-02-03Do not save ResolutionError if resolution succeeds for any address family (#1...Misaki Shioi
2025-01-29Ensure that memory is not freed before calling `free_fast_fallback_getaddrinf...Misaki Shioi
2024-12-25Introduce a timeout to prevent `rb_thread_fd_select` from hanging with write(...Misaki Shioi
2024-12-18Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` (#12366)Misaki Shioi
2024-12-11Use ruby_strdup/xfree in fast_fallbackJohn Hawthorn
2024-12-11Use `rb_thread_fd_select` instead of select(2) (#12292)Misaki Shioi
2024-12-03Fix use of getaddrinfo_shared->lockJohn Hawthorn
2024-11-30Improve the conditions for clearing the Connection Attempt Delay upon connect...Misaki Shioi
2024-11-29Ensure to close pipes when `TCPSocket.new` finishes processing (#12181)Misaki Shioi
2024-11-28Ensure to free fast_fallback_getaddrinfo_shared with single family (#12199)Misaki Shioi
2024-11-25Prevent memory leakYusuke Endoh
2024-11-25Fix initialization of `struct wait_fast_fallback_arg::cancelled`Nobuyoshi Nakada
2024-11-25Do not save the last error without sockets in the connection attempt (#12153)Misaki Shioi
2024-11-24UBF is also required for synchronous name resolution (#12156)Misaki Shioi
2024-11-23Save the error that occurred during name resolution (#12155)Misaki Shioi
2024-11-21Fix the usage of reallocYusuke Endoh
2024-11-17Fix stack-use-after-return (#12105)Misaki Shioi
2024-11-15Do not wait connection attempt delay without in progress fds (#12087)Misaki Shioi
2024-11-12[Feature #120782] Introduction of Happy Eyeballs Version 2 (RFC8305) in TCPSo...Misaki Shioi
2024-10-12Support `IO#timeout` for `rsock_connect`. (#11880)Samuel Williams
2024-10-11Update `rsock_connect` to take `VALUE io` argument. (#11847)Samuel Williams
2024-10-09Update `IPSocket` to use `rb_io_descriptor` and `rb_io_mode`.Samuel Williams
2024-02-01Revert "Set AI_ADDRCONFIG when making getaddrinfo(3) calls for outgoing conns"KJ Tsanaktsidis
2023-12-07Set AI_ADDRCONFIG when making getaddrinfo(3) calls for outgoing conns (#7295)KJ Tsanaktsidis
2022-07-21Expand tabs [ci skip]Takashi Kokubun
2021-01-05[DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer
2020-12-10Add connect_timeout to TCPSocketMasaki Matsushita
2020-12-07Revert getaddrinfo_a()Masaki Matsushita
2020-09-27ext/socket/ipsocket.c: prevent "warning: unused variable 'resolv_timeout'"Yusuke Endoh
2020-09-25Add resolve_timeout to TCPSocket [Feature #17134]Masaki Matsushita
2019-08-27rb_ensure now free from ANYARGS卜部昌平
2019-06-11* expand tabs.git
2019-06-11ext/socket/ipsocket.c: Use SO_REUSEADDR for local_host/portYusuke Endoh
2017-04-14IPSocket#inspectnobu
2016-10-05* ext/socket/*.c: Add proper require for example to work.hsbt
2015-10-13rsock_addrinfo: specify address familynobu
2015-04-30ipsocket.c: fix merge missnobu
2015-04-30ipsocket.c: sys_errornobu
2015-04-15* doc/contributors.rdoc: fix a typo. Patch by @davydovantonhsbt
2014-02-19* ext/socket: Wrap struct addrinfo by struct rb_addrinfo.akr
2014-02-19* ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.akr
2013-07-01* ext/socket/ipsocket.c (init_inetsock_internal): Don't try mismachedakr
2013-07-01* ext/socket/ipsocket.c (init_inetsock_internal): Use an addressakr
2013-06-28* ext/socket/ipsocket.c (init_inetsock_internal): Don't use localakr
2013-04-06* ext/socket: Improve socket exception message to show socket address.akr
2013-02-24* ext/socket: define and use union_sockaddr instead of structakr