Skip to content

Commit

Permalink
Merge pull request #14 from GsDevKit/kurtkilpela.sni
Browse files Browse the repository at this point in the history
ZdcSecureSocketStream >> #serverNameIndication:
  • Loading branch information
dalehenrich committed Aug 14, 2024
2 parents 6e5efb6 + 60cec9d commit fb6499d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: smalltalkCI
on:
push:
pull_request:
branches:
gs_master
schedule:
- cron: "15 2 12 * *" #run job on the 12th day of every month on the 15th minute of the 2nd hour

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
smalltalk: [ GemStone64-3.7.1, GemStone64-3.6.8, GemStone64-3.5.8 ]
Expand All @@ -21,7 +20,7 @@ jobs:
os: macos-12
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ for example HTTPS when combined with a suitable client such as Zinc HTTP Compone


[MIT Licensed](https://github.com/svenvc/zodiac/blob/master/license.txt)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
accessing
serverNameIndication: aDomainNameString
"Set the Server Name Indication for the TLS connection.
Note, this should be set before sending #connect.
Note, some supported version of GemStone do not support
SNI. As a result, it is only set in supported version."

| sock |
sock := self socket.
(sock respondsTo: #setServerNameIndication:)
ifTrue: [ sock setServerNameIndication: aDomainNameString ]

0 comments on commit fb6499d

Please sign in to comment.