summaryrefslogtreecommitdiffstats
path: root/jrt
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7101 from vespa-engine/bjorncs/tlsBjørn Christian Seime2018-09-261-7/+17
|\ | | | | Introduce insecure mixed mode + move env var logic to separate class
| * Introduce insecure mixed mode + move env var logic to separate classBjørn Christian Seime2018-09-261-7/+17
| |
* | adjust message to work better with assertEqualsHåvard Pettersen2018-09-261-9/+4
| |
* | use junit assertHåvard Pettersen2018-09-261-3/+3
|/
* address naming concernsHåvard Pettersen2018-09-262-12/+12
|
* added support for auto-detecting tls for incoming connectionsHåvard Pettersen2018-09-256-2/+264
|
* Use TlsCryptoEngine if VESPA_TLS_CONFIG_FILE is setBjørn Christian Seime2018-09-102-1/+31
|
* Use drain() to unwrap multiple frames before reading from networkBjørn Christian Seime2018-09-041-1/+1
|
* Use com.yahoo.jrt.Buffer to simplify buffer managementBjørn Christian Seime2018-09-041-31/+25
|
* Rewrite wrap+unwrap to remove use of magic return valuesBjørn Christian Seime2018-09-041-47/+71
| | | | | | | - Wrap/unwrap for handshake returns true for success, false otherwise - Wrap/unwrap for application data returns bytes consumed/produced - Do not throw exception on overflow for unwrap - Misc changes to reduce code duplication
* Rename SslEngine/SslSocket -> TlsCryptoEngine/TlsCryptoSocketBjørn Christian Seime2018-09-034-12/+10
|
* Various fixes to SslSocketBjørn Christian Seime2018-09-031-5/+8
| | | | | | | | - Clear reference to handshake dummy buffer after completed handshake. - Make return value consistent between sslEngineAppDataWrap and sslEngineAppDataUnwrap. - Throw SSLException in sslEngineUnwrap when destination buffer capacity is too low. - SocketChannel.write() never returns -1 - Call flush() from write()
* Test SslEngine in EchoTest and SessionTestBjørn Christian Seime2018-09-034-7/+56
|
* Add ssl socket implementation based on SSLEngineBjørn Christian Seime2018-09-032-0/+262
|
* also test with xor crypto engineHåvard Pettersen2018-08-302-4/+25
|
* Perform post-handshake drain after setting connection stateHåvard Pettersen2018-08-301-1/+1
| | | | | This is to make sure that session live events will be delivered before any incoming requests.
* handshake data flushing should be handled by crypto socket handshakeHåvard Pettersen2018-08-291-5/+0
|
* integrate crypto concepts into jrtHåvard Pettersen2018-08-298-62/+429
|
* meaningless change to re-run CLA test, maybe...Håvard Pettersen2018-08-061-1/+0
|
* avoid hardcoded port numbers in jrt testsHåvard Pettersen2018-08-0615-73/+50
|
* Fix author tag for SimonBjørn Christian Seime2018-07-052-2/+2
|
* Revert "Revert "Gjoranv/java9 prep 05""gjoranv2018-05-021-8/+8
|
* Revert "Gjoranv/java9 prep 05"gjoranv2018-05-021-8/+8
|
* Remove unnecessary boxing.gjoranv2018-04-301-8/+8
| | | | - Integer(int) ctor is depreated in Java 9.
* Remove usage of junit.frameworkJon Bratseth2018-04-2723-126/+259
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent"gjoranv2017-11-291-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Update javadocHåkon Hallingstad2017-10-121-2/+2
|
* Clear Slobrok entries after shutdownHåkon Hallingstad2017-10-081-0/+1
|
* Add the timeout in the message too.Henning Baldersheim2017-09-052-1/+2
|
* Keep acceptor thread alive until shutdown has been completedBjørn Christian Seime2017-06-201-11/+28
| | | | | | This is a workaround for a bug that is most likely in sun.nio.ch.ServerSocketChannelImpl, where the JVM tries to interrupt a thread that no longer exist, resulting in a SIGSEGV on MacOS.
* Update copyright headersJon Bratseth2017-06-1497-97/+97
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1497-97/+97
|
* Update copyright headersJon Bratseth2017-06-1497-97/+97
|
* Upgrade maven-install-plugin to 2.5.2Bjørn Christian Seime2017-06-131-1/+0
|
* use standard formatting for Override annotationArne H Juul2017-05-3019-20/+40
|
* Log successful registration when connecting to a new Slobrok serverHåkon Hallingstad2017-03-171-0/+1
|
* Make loss of slobrok INFOHåkon Hallingstad2017-03-171-1/+1
|
* More Slobrok logging when registering in JavaHåkon Hallingstad2017-03-171-31/+81
|
* Restore port docHåkon Hallingstad2017-02-221-1/+1
|
* Remove listeningHåkon Hallingstad2017-02-221-1/+1
|
* Properly revert most changes to SpecHåkon Hallingstad2017-02-221-10/+7
|
* Improve Spec APIHåkon Hallingstad2017-02-224-46/+24
| | | | | | - Removes Spec.getLocalHostName - Removes distinction between listening- and connect- address for Spec - Makes all usage of connect w/Spec specify hostname
* Makes clustercontroller-core work on WiFiHåkon Hallingstad2017-02-204-17/+45
|
* Yahoo sets up mac wireless networks such that the local hostname points to anJon Bratseth2016-09-2910-320/+294
| | | | | | ip which does not resolve. This works around that problem by finding a resolvable address (while still falling back to localhost if we only get ipv6 addresses, as that causes other problems in docker containers).
* Move parent pom to toplevel directoryEirik Nygaard2016-06-231-1/+0
|
* Use github name in @authorJon Bratseth2016-06-161-1/+1
|