Commit b302b04
authored
Merge pull request #10 from corollari/patch-1
Fix usage of tls.TLSSocket
The constructor of `tls.TLSSocket` requires a net.Socket (see [docs](https://nodejs.org/api/tls.html#tls_new_tls_tlssocket_socket_options)), which doesn't seem to be provided. This PR fixes this by changing the code to fit the node API.1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments