aboutsummaryrefslogtreecommitdiffstats
path: root/jrt
Commit message (Collapse)AuthorAgeFilesLines
* Add control overHenning Baldersheim2020-03-253-13/+18
| | | | | | | - num network threads - num connections per target - tcpnodelay Defaults are unchanged.
* Factor out generic thread pool to vespajlib.Henning Baldersheim2020-02-251-75/+13
|
* Add sanity checks and avoid codeduplicationi after codereview.Henning Baldersheim2020-02-251-16/+24
|
* Use a global bounded cached tread pool as primary, and a single threaded one ↵Henning Baldersheim2020-02-253-26/+109
| | | | for fallback.
* Adding more threads does not work when the Q is unbound. Use a SynchronousQ ↵Henning Baldersheim2020-02-253-40/+19
| | | | instead.
* Use 'localhost' for TLS hostname validation if spec uses wildcard addressBjørn Christian Seime2020-02-201-1/+2
|
* Override hostname verification in PeerAuthorizerTrustManagerBjørn Christian Seime2020-02-171-5/+8
| | | | | Override hostname verification on client-side. Remove overriding of hostname verification for server-side.
* Create SSLEngine instance using host and portBjørn Christian Seime2020-02-171-1/+1
|
* pass connection spec to crypto engineHåvard Pettersen2020-02-128-24/+53
| | | | when being a client, for hostname validation
* Use 64 threads with 1s idle time.Henning Baldersheim2020-02-061-1/+1
|
* Limit number of connector threads to 8 and keep at least 1 on hot standby.Henning Baldersheim2020-02-051-2/+5
|
* simplify connectorHåvard Pettersen2020-02-052-33/+6
|
* Use a cached threadpool for execution of connect. To avoid failing connect ↵Henning Baldersheim2020-02-051-34/+25
| | | | blocking other connects.
* Non-functional changesJon Bratseth2020-01-062-24/+24
|
* Merge pull request #11007 from vespa-engine/havardpe/auto-compact-empty-buffersHenning Baldersheim2019-10-172-0/+19
|\ | | | | auto-compact empty buffers when requesting writable view
| * improve clarityHåvard Pettersen2019-10-171-3/+2
| |
| * auto-compact empty buffers when requesting writable viewHåvard Pettersen2019-10-172-1/+21
| |
* | Start off with at least 64k buffer size.Henning Baldersheim2019-10-171-2/+2
| |
* | Ensure that we have enough space also for handshake.Henning Baldersheim2019-10-171-0/+2
|/
* Revert "Bjorncs/jdisc tls13"Bjørn Christian Seime2019-10-041-0/+3
|
* Allow post-handshake messagesBjørn Christian Seime2019-10-041-3/+0
| | | | Don't fail when receiving post-handshake messages such as New Session Ticket Message.
* Fix typo in class nameBjørn Christian Seime2019-07-041-2/+2
|
* Make peer authentication in TlsContext configurableBjørn Christian Seime2019-07-031-1/+2
|
* Rename 'ReloadingTlsContext' -> 'ConfigFiledBasedTlsContext'Bjørn Christian Seime2019-07-031-2/+2
|
* Remove ciphers from DefaultTlsContext public constructorsBjørn Christian Seime2019-07-031-1/+1
|
* Move constants from DefaultTlsContext to TlsContextBjørn Christian Seime2019-07-031-1/+1
|
* use upper bound for current time estimateHåvard Pettersen2019-07-012-3/+3
|
* round -> ceil to avoid premature timeoutHåvard Pettersen2019-07-011-1/+1
| | | | in the cases where the timeout is not divisible by the tick size.
* address() -> resolveAddressHenning Baldersheim2019-05-284-11/+11
|
* Keep the spec final.Henning Baldersheim2019-05-283-14/+40
| | | | | | Create the address when needed in the async connect thread. Implement hash/equal/compareTo for Spec to avoid toString. Use Spec as key and avoid creating it every time.
* fixup! Remove deprecated Method constructorBjørn Christian Seime2019-05-271-1/+1
|
* Remove deprecated Method constructorBjørn Christian Seime2019-05-241-48/+2
|
* Remove usage of deprecated Method constructorBjørn Christian Seime2019-05-2312-74/+58
|
* Annotate MethodHandler as functional interfaceBjørn Christian Seime2019-05-231-0/+1
|
* Deprecate reflection based invocation in jrtBjørn Christian Seime2019-05-231-0/+3
|
* Make Spec members final and MT safe, with sideeffect of a cheap toStringHenning Baldersheim2019-05-211-28/+36
|
* improve latency testHåvard Pettersen2019-05-151-20/+48
| | | | use time to specify each benchmark state instead of request count
* perform all 'state' changes in the transport threadHåvard Pettersen2019-05-131-6/+7
|
* use AtomicReference (with weaker constraints; requires Java 9)Håvard Pettersen2019-05-131-10/+10
|
* add some more final in ConnectionHåvard Pettersen2019-05-131-21/+22
|
* multi-threaded transport for JRTHåvard Pettersen2019-05-1316-450/+597
|
* Rename 'securityContext' to 'getSecurityContext'. Add default implementationBjørn Christian Seime2019-05-066-10/+6
|
* Add security context to targetBjørn Christian Seime2019-05-069-3/+112
|
* 16k -> 32k buffersHenning Baldersheim2019-05-021-2/+2
|
* Use AtomicReference instead of volatile.Henning Baldersheim2019-04-261-6/+7
|
* Merge pull request #9155 from vespa-engine/balder/update-lookup-interfaceHenning Baldersheim2019-04-233-21/+21
|\ | | | | Change interface from Mirror.Entry[] to List<Mirror.Entry> as you alr…
| * Change interface from Mirror.Entry[] to List<Mirror.Entry> as you already ↵Henning Baldersheim2019-04-223-21/+21
| | | | | | | | | | | | have a list. Avoid having to do an array copy that is not necessary.
* | Merge pull request #9153 from vespa-engine/balder/16k-read-write-buffersHenning Baldersheim2019-04-231-2/+2
|\ \ | | | | | | Double minimum read/write chunk size to 16k.
| * | Double minimum read/write chunk size to 16k.Henning Baldersheim2019-04-221-2/+2
| |/
* / Avoid '*' imports.Henning Baldersheim2019-04-221-15/+20
|/