Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89c5568

Browse files
committed
fix(connection-tls): set the processCallback during before trying to connect, so the constructor callback can be called if the server doesn't respond to the connector's request
1 parent69ec542 commit89c5568

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/drivers/connection-tls.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export class SQLiteCloudTlsConnection extends SQLiteCloudConnection {
6666
connector=tls.connectTLS
6767
}
6868

69+
this.processCallback=callback
70+
6971
this.socket=connector(connectionOptions,()=>{
7072
if(this.config.verbose){
7173
console.debug(`SQLiteCloudTlsConnection - connected to${this.config.host}, authorized:${this.socket?.authorized}`)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp