summaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/test/java/com/yahoo/jdisc/http
Commit message (Collapse)AuthorAgeFilesLines
* Remove the jdisc_http_service module.gjoranv2021-03-2340-6416/+0
| | | | - It has been merged into container-core.
* Close after waiting for log entryJon Marius Venstad2021-03-011-1/+1
|
* Block until access log entry is availableBjørn Christian Seime2021-02-262-7/+27
|
* Determine local port for requests processed after connector is closedBjørn Christian Seime2021-02-242-5/+8
| | | | | Fallback to configured listen port for requests that are unable to complete before connector shutdown is initiated.
* Disable TLSV1.3Bjørn Christian Seime2021-02-241-1/+2
|
* Allow multiple invocations (in case client retries handshake)Bjørn Christian Seime2021-02-231-6/+7
|
* Read/write race will produce different error message for TLSv1.3Bjørn Christian Seime2021-02-231-1/+4
|
* Ignore test for JDKs where TLSv1.1 is disabledBjørn Christian Seime2021-02-231-4/+6
|
* Revert "Handle alternative error message for incompatible TLS protocol version"Bjørn Christian Seime2021-02-191-0/+2
|
* Handle alternative error message for incompatible TLS protocol versionBjørn Christian Seime2021-02-191-2/+0
|
* Temporarily disable testBjørn Christian Seime2021-02-191-0/+2
|
* Make expected error message substring more genericBjørn Christian Seime2021-02-191-1/+1
| | | | Actual error message is platform dependent
* Merge pull request #16586 from vespa-engine/bjorncs/jdisc-connection-logBjørn Christian Seime2021-02-191-11/+18
|\ | | | | List complete exception chain for ssl handshake failure in connection…
| * List complete exception chain for ssl handshake failure in connection logBjørn Christian Seime2021-02-191-11/+18
| |
* | Expect TLSv1.3 in connection logBjørn Christian Seime2021-02-181-1/+1
| |
* | Update test as TLSv1.3 is now allowedBjørn Christian Seime2021-02-181-1/+1
|/
* Use cheaper EC based crypto materialBjørn Christian Seime2021-02-091-7/+7
| | | | Shaves ~3 seconds from test runtime
* Support SameSite in cookiesValerij Fredriksen2021-01-261-8/+19
|
* Revert "Revert "Access log optimizations [run-systemtest]""Bjørn Christian Seime2021-01-227-79/+108
|
* Revert "Access log optimizations [run-systemtest]"Morten Tokle2021-01-227-108/+79
|
* Replace AccessLogEntry with non-blocking RequestLogEntryBjørn Christian Seime2021-01-214-72/+87
| | | | | | | Keep AccessLogEntry as interface for adding extra information in handlers, but use the new RequestLogEntry for access log serialization. Introduce new interface RequestLog that AccessLog class implements (to simplify unit testing). Rename AccessLogInterface to RequestLogHandler. Remove unused class AccessLogSampler.
* Introduce RequestLog interfaceBjørn Christian Seime2021-01-216-30/+44
|
* Verify content of connection log in HttpServerTestBjørn Christian Seime2021-01-181-44/+117
| | | | Also extend existing test methods for proxy-protocol and ssl handshake failure metrics to test content of connection log.
* Rewrite JettyConnectionLogger to deduplicate Jetty connectionsBjørn Christian Seime2021-01-151-1/+1
| | | | | | Use SocketChannelEndPoint to uniquely identity TCP/IP connections. Rename 'AggregatedConnectionInfo' to 'ConnectionInfo'. Implement SslHandshakeListener to read SSL session after handshake.
* Guice modules passed to TestDrivers will always override config moduleBjørn Christian Seime2021-01-151-21/+20
|
* Add skeleton for connection log unit testBjørn Christian Seime2021-01-143-19/+57
| | | | Test will be expanded once connection log contains more details
* Close client when closing TestDriverBjørn Christian Seime2021-01-141-1/+3
|
* Add initial connection log integration with JettyBjørn Christian Seime2021-01-141-1/+5
|
* Setup connection log if access log is enabledMorten Tokle2021-01-143-0/+7
|
* Stabilize unit testBjørn Christian Seime2021-01-041-1/+1
| | | | 200 with no content is valid behaviour
* Avoid too-clever method that removes port 443 for httpsJon Marius Venstad2020-12-231-2/+42
|
* Add strict filtering mode to jdiscBjørn Christian Seime2020-11-191-6/+29
| | | | Jdisc will reject requests that does not match a request filter (chain) if strict filtering is enabled.
* Add metrics for request filteringBjørn Christian Seime2020-11-171-20/+37
|
* Move MetricConsumerMock to separate classBjørn Christian Seime2020-11-172-13/+28
|
* Support default request/response filters per connectorBjørn Christian Seime2020-11-172-21/+140
| | | | Filter requests using default request/response filter if no other filters matches the request uri.
* Prepare FilterBindings to allow default filter chains and metricsBjørn Christian Seime2020-11-134-104/+70
| | | | | | | Track and expose filter ids from FilterBindings. Add builder to simplify construction for FilterBindings in provider and unit tests. Move FilterBindings to com.yahoo.jdisc.http.server.jetty package. Encapsulate binding matching in FilterBindings.
* Merge pull request #14787 from vespa-engine/bjorncs/jetty-threadpool-metricsHenning Baldersheim2020-10-092-26/+24
|\ | | | | Bjorncs/jetty threadpool metrics
| * Extract metric names and dimensions to separate classBjørn Christian Seime2020-10-082-26/+24
| |
* | Don't use request headers for remote address/port in hosted VespaBjørn Christian Seime2020-10-061-6/+16
|/ | | | Control which headers are used for remote address/port in access log through config model.
* Stabilize test - exception may fail out request between commit and response ↵Bjørn Christian Seime2020-10-021-1/+1
| | | | write
* Wait for statisticsJon Bratseth2020-09-151-17/+28
|
* Test just one requestJon Bratseth2020-09-141-2/+1
|
* Propagate requestType through jdisc core responseJon Bratseth2020-09-142-7/+6
|
* Test request statisticsJon Bratseth2020-09-144-101/+160
|
* Handle default port for http and https being hidden by java URIJon Marius Venstad2020-09-091-2/+2
|
* Validate created URI is as expectedJon Marius Venstad2020-09-091-0/+36
|
* Allow setting a request type explicitlyJon Bratseth2020-09-021-7/+21
| | | | | | This lets handler authors control the requestType explicitly by setting it on the HttpResponse, which is useful to avoid misclassification of POST requests to reading handlers as writes.
* Report requests to /search as request type readMorten Tokle2020-08-121-1/+4
|
* Include client ip dimension for ssl handshake failure metrics (#13998)Morten Tokle2020-08-051-0/+42
|
* Test handling of invalid remote port headerBjørn Christian Seime2020-07-091-0/+20
|