mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
The Happy Eyeballs patch prepends an `open` singleton method onto TCPSocket, and TCPServer inherits it because TCPServer < TCPSocket. With a fixed host/port signature, `TCPServer.open(port)` raised ArgumentError before `super` could run. That broke TemporaryDb#port_available? and, in turn, the migrations tooling's `disco check` plugin-manifest refresh. The patched `open` now takes *args and forwards the caller's arguments untouched to `super` for non-token hosts, so subclasses with looser signatures keep working. |
||
|---|---|---|
| .. | ||
| active_record_attribute_methods.rb | ||
| active_record_disable_serialization.rb | ||
| ams_include_without_root.rb | ||
| copy_file.rb | ||
| cose_rsapkcs1.rb | ||
| fast_image.rb | ||
| final_destination_connect.rb | ||
| inflector_backport.rb | ||
| ip_addr.rb | ||
| message_pack_extensions.rb | ||
| net_http.rb | ||
| net_http_header.rb | ||
| pitchfork_sock_stream.rb | ||
| propshaft_patches.rb | ||
| rails_multisite.rb | ||
| request_server_session.rb | ||
| rspec_mocks_from_described_class.rb | ||
| safe_buffer.rb | ||
| safe_migrations.rb | ||
| schema_migration_details.rb | ||
| translate_accelerator.rb | ||
| web_push_request.rb | ||