Skip to content

Commit

Permalink
Merge branch 'release/0.66'
Browse files Browse the repository at this point in the history
  • Loading branch information
jfallows committed Sep 16, 2021
2 parents fb6623b + 2a2b0ce commit 75787c0
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.reaktivity</groupId>
<artifactId>nukleus-tls.spec</artifactId>
<version>0.65</version>
<version>0.66</version>
<name>TLS Nukleus Specification</name>
<description>TLS Nukleus Specification</description>
<url>https://github.com/reaktivity/nukleus-tls.spec</url>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright 2016-2021 The Reaktivity Project
#
# The Reaktivity Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#

connect "nukleus://streams/app#0"
option nukleus:window 65536
option nukleus:transmission "duplex"

write nukleus:begin.ext ${proxy:beginEx()
.typeId(nukleus:id("proxy"))
.addressNone()
.build()
.info()
.authority("localhost")
.build()
.build()}

connected

write close
read closed
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# Copyright 2016-2021 The Reaktivity Project
#
# The Reaktivity Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#

accept "nukleus://streams/app#0"
option nukleus:window 65536
option nukleus:transmission "duplex"
accepted

read nukleus:begin.ext ${proxy:matchBeginEx()
.typeId(nukleus:id("proxy"))
.info()
.authority("localhost")
.build()
.build()}

connected

read closed
write close
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# Copyright 2016-2021 The Reaktivity Project
#
# The Reaktivity Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#

connect "tls://localhost:9090"
option tls:transport "nukleus://streams/net#0"
option tls:trustStoreFile "src/test/democa/client/trust"
option tls:trustStorePassword "generated"
option nukleus:window 65536
option nukleus:transmission "duplex"
connected

write close
read closed
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright 2016-2021 The Reaktivity Project
#
# The Reaktivity Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#

accept "tls://localhost:9090"
option tls:transport "nukleus://streams/net#0"
option tls:keyStoreFile "src/test/democa/server/keys"
option tls:keyStorePassword "generated"
option nukleus:window 65536
option nukleus:transmission "duplex"
accepted
connected

read closed
write close
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,15 @@ public void shouldReceiveClientSentWriteClose() throws Exception
k3po.finish();
}

@Test
@Specification({
"${app}/client.sent.write.close.read.closed/client",
"${app}/client.sent.write.close.read.closed/server"})
public void shouldReceiveClientSentWriteCloseReadClosed() throws Exception
{
k3po.finish();
}

@Test
@Specification({
"${app}/client.sent.write.close.before.handshake/client",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ public void shouldReceiveClientSentWriteClose() throws Exception
k3po.finish();
}

@Test
@Specification({
"${net}/client.sent.write.close.read.closed/client",
"${net}/client.sent.write.close.read.closed/server"})
public void shouldReceiveClientSentWriteCloseReadClosed() throws Exception
{
k3po.finish();
}

@Test
@Specification({
"${net}/server.sent.write.abort/client",
Expand Down

0 comments on commit 75787c0

Please sign in to comment.