Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
28d9d83). A 19c or later listener answers a redirected CONNECT with a REDIRECT that holds only the data length, and sends the address in the DATA packet after it. The driver read only inline bytes, so the target came out as"", or as a decode failure when both packets arrived in one read.OracleRedirectError(...),OracleMessageDecodingError(payload: <hex>),POSIXErrorCode(...)). Redirect failures, a refused port and transport errors read as text. Anything else names the driver code, as the query path does. TLS words are read only from NIOSSL's errors, so a crafted REFUSE cannot surface the client's CID.apple/scripts/probes/check-oracle-listener-redirect.sh: a SCAN-style redirect on an Oracle Free container.Both connect to a listener that sends a REDIRECT and its DATA 300 ms apart, pointing at the Oracle Free container's second listener.
Test plan
TableProOracleCoreTests: 525 pass, newOracleConnectFailureMappingTestsand cases inOracleCoreErrorMessageTests.127.0.0.1:15212; a refused port fails in 4 ms.verify.sh pluginsandbuildpass.ioswas INCONCLUSIVE: no iOS simulator runtime on this Mac; the iOS CI job covers it.Fixes #4599