aboutsummaryrefslogtreecommitdiffstats
path: root/fbench
Commit message (Collapse)AuthorAgeFilesLines
* Move crypto utility code out into vespalib and use for test credentialsTor Brede Vekterli2020-02-201-2/+2
| | | | | | | | | | | Currently offers only the following functionality: * Generate P-256 EC private keys and export to PEM * Generate X509 certificates and export to PEM Instead of using hardcoded private key/certs for unit tests, use crypto utility code to generate new credentials once per test process. Since these certs now use a SAN of `localhost` it also means we no longer need to disable hostname validation for networked unit tests.
* Implement TLS client SNI and hostname validation in OpenSSL codecTor Brede Vekterli2020-02-171-4/+7
| | | | | | | | | | Also adds `disable-hostname-validation` config entry to TLS JSON config file parsing in C++. For the time being, hostname validation is implicitly disabled unless explicitly specified in the config file. This will be gradually changed over to be implicitly enabled by default. SNI is always sent when a valid connection spec is provided.
* extend crypto engine apiHåvard Pettersen2020-02-131-1/+3
| | | | | send spec for client connections to enable SNI as well as server name verification
* PR feedbackohad serfaty2019-11-261-2/+4
|
* Preparing for PRohad serfaty2019-11-252-2/+3
|
* Using vespa's internal base64 codeohad serfaty2019-11-252-50/+6
|
* adding d optionohad serfaty2019-11-211-1/+1
|
* compilation fixohad serfaty2019-11-211-1/+1
|
* Base 64 decode fbenchohad serfaty2019-11-214-6/+79
|
* Now fdispatch reliques can goHenning Baldersheim2019-11-162-33/+3
|
* Eliminate clang warning.Tor Egge2019-07-301-3/+3
|
* Update vespa-fbench install doc.Arnstein Ressem2019-07-251-18/+29
|
* added option to use default crypto engine as fallbackHåvard Pettersen2019-07-122-6/+17
| | | | this will enable picking up TLS configuration from the environment
* Add missing includes.Tor Egge2019-06-111-0/+1
|
* Remove fbench-formatter.pyBjørn Christian Seime2019-05-021-391/+0
| | | | Not linted, packaged or referred from doc.
* Fix format strings in fbench module.Tor Egge2019-03-122-2/+4
|
* Adjust forward declaration in fbench.Tor Egge2019-02-081-1/+1
|
* use crypto engine and sync crypto socket in http clientHåvard Pettersen2018-10-128-33/+70
|
* set up crypto engine based on command line parametersHåvard Pettersen2018-10-112-3/+90
|
* fix minor usage inconsistenciesHåvard Pettersen2018-10-111-2/+2
|
* depend on dynamic fastos and vespalibHåvard Pettersen2018-10-103-2/+6
|
* Use fallthrough attributes.Tor Egge2018-05-271-1/+1
|
* Remove more clutter in fastos/types.hHenning Baldersheim2017-08-183-2/+3
|
* Include only what you need.Henning Baldersheim2017-08-187-11/+21
|
* Use syntax that works for both gcc 7 and gcc 6.Henning Baldersheim2017-07-241-1/+1
|
* Add [[falltrhough]] for gcc 7Henning Baldersheim2017-07-241-1/+2
|
* Merge pull request #2785 from yahoo/bratseth/update-copyright-headers-2Henning Baldersheim2017-06-1438-38/+38
|\ | | | | Update copyright headers
| * Update copyright headersJon Bratseth2017-06-1438-38/+38
| |
* | Merge pull request #2782 from yahoo/toregge/rename-fbench-programs-furtherGeir Storli2017-06-146-11/+11
|\ \ | |/ |/| Rename vespa-geturl to vespa-fbench-geturl.
| * Rename vespa-geturl to vespa-fbench-geturl.Tor Egge2017-06-146-11/+11
| | | | | | | | Rename vespa-resultfilter.pl to vespa-fbench-result-filter.pl.
* | Revert "Update copyright headers"Jon Bratseth2017-06-1438-38/+38
|/
* Update copyright headersJon Bratseth2017-06-1438-38/+38
|
* Revert "Copyright header"Jon Bratseth2017-06-1338-38/+38
|
* Copyright headerJon Bratseth2017-06-1338-38/+38
|
* Adjust renaming: vespa-fbench-filterfile ==> vespa-fbench-filter-file.Tor Egge2017-06-094-7/+7
|
* Rename fbench programs to have vespa- prefix.Tor Egge2017-06-0916-53/+55
| | | | Temporarily add symlinks from old name to new name.
* simplify newline addingArne H Juul2017-05-101-9/+11
| | | | also, account for space for full URL to follow
* put newline between content linesArne H Juul2017-05-101-6/+10
|
* only write content if usePost is trueArne H Juul2017-05-091-1/+1
|
* fix double-counting in getContent()Arne H Juul2017-05-091-10/+9
|
* only send Content-Length for POSTArne H Juul2017-05-091-10/+9
|
* refactor nextUrl()Arne H Juul2017-05-092-29/+43
|
* move _linebuf out of UrlReader againArne H Juul2017-05-092-25/+16
|
* FindNewline -> FindNextLineArne H Juul2017-05-093-5/+5
|
* refactor loop for url readingArne H Juul2017-05-091-32/+30
|
* let UrlReader own line and content buffersArne H Juul2017-05-092-24/+31
|
* make _restarts count upwardsArne H Juul2017-05-091-7/+7
|
* fix FileReader bugsArne H Juul2017-05-092-12/+6
| | | | | | | | * Reset() and SetFilePos() should flush old buffer * make GetFilePos() work immediately after SetFilePos() * refactor Reset() to use SetFilePos() * refactor FindNewLine() to use GetFilePos() * remove useless GetBufPos()
* merge Fetch and PostArne H Juul2017-05-083-162/+24
|
* super ugly add post modeArne H Juul2017-05-088-41/+307
| | | | * also, fix some logic with byte offsets and -r option