summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add initial OpenSSL CryptoEngine implementation and key/cert handling"Tor Brede Vekterli2018-09-0419-1229/+0
|
* Explicit vespalib string namespace prefixingTor Brede Vekterli2018-09-033-15/+13
|
* Use correct TLSv1.2 max frame size limitsTor Brede Vekterli2018-09-032-10/+14
|
* Address code review commentsTor Brede Vekterli2018-09-038-33/+50
|
* Add initial OpenSSL CryptoEngine implementation and key/cert handlingTor Brede Vekterli2018-08-3119-0/+1210
| | | | | | | The current implementation is known to be sub-optimal due to requiring memory copies in and out of OpenSSL's working BIOs for every encode and decode. Codec design is also up for change, depending on how well it fits with crypto socket integration.
* Merge pull request #6686 from ↵Håvard Pettersen2018-08-302-0/+24
|\ | | | | | | | | vespa-engine/havardpe/integrate-crypto-engine-in-fnet integrate Crypto{Engine,Socket} into fnet
| * fixes based on feedbackHåvard Pettersen2018-08-281-1/+1
| | | | | | | | | | - do not check broken flag when doing flush - use auto-detection of guard template parameter
| * integrate Crypto{Engine,Socket} into fnetHåvard Pettersen2018-08-272-0/+24
| |
* | Add move assignment and move constructor to CloneablePtr and IdentifiablePtr.Tor Egge2018-08-291-0/+14
|/ | | | | This allows for use of std::unique_ptr rhs value instead of temporary raw pointer.
* first version of high-level c++ socket crypto APIsHåvard Pettersen2018-08-245-0/+314
| | | | | | includes fall-back implementation for non-encrypted communications and a very simple xor encryption implementation for testing and example purposes.
* use non-const copy of input in rendezvousHåvard Pettersen2018-08-133-28/+62
|
* Remove whitespaceHenning Baldersheim2018-08-1213-38/+38
|
* Pass stringref by valueHenning Baldersheim2018-08-1110-47/+41
|
* Pass stringref by valueHenning Baldersheim2018-08-1016-116/+116
|
* Merge pull request #6485 from ↵Henning Baldersheim2018-08-081-2/+7
|\ | | | | | | | | vespa-engine/balder/transfer-when-selecting-the-best Balder/transfer when selecting the best
| * Improve tests by tightening it.Henning Baldersheim2018-08-081-2/+7
| |
* | Add fsync calls to reduce probability of unexpected state after a crash.Tor Egge2018-08-022-0/+19
|/
* Merge pull request #6469 from ↵Tor Brede Vekterli2018-07-2612-125/+123
|\ | | | | | | | | vespa-engine/vekterli/remove-dangerous-stringref-c_str-function Remove dangerous stringref::c_str()
| * Remove stringref::c_str()Tor Brede Vekterli2018-07-2512-125/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* | DeinlineHenning Baldersheim2018-07-262-1/+4
|/
* Add control of cache update policy when an item changes value.Henning Baldersheim2018-07-192-14/+16
|
* use new C++ noreturn syntaxArne Juul2018-06-211-3/+4
|
* some more cleanupArne Juul2018-06-203-4/+4
|
* move LOG_SETUP after other includesArne Juul2018-06-202-0/+2
|
* add and use HDR_ABORT insteadArne Juul2018-06-203-3/+40
|
* Merge branch 'master' into arnej/use-log-abortArne Juul2018-06-201-1/+0
|\
| * cleanup leftoversArne Juul2018-06-131-1/+0
| |
* | use LOG_ABORT not just abort()Arne Juul2018-06-1211-11/+35
|/ | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* If moving a non-owned buffer make sure to copy the buffer.Henning Baldersheim2018-06-123-3/+70
|
* clean up remnants of .mak filesArne Juul2018-06-111-1/+0
|
* Merge pull request #6055 from ↵Henning Baldersheim2018-06-042-25/+21
|\ | | | | | | | | vespa-engine/havardpe/simplify-detect-validate-hostname Havardpe/simplify detect validate hostname
| * drop reverse lookup of ip addressesHåvard Pettersen2018-06-011-15/+0
| | | | | | | | | | | | | | container setups may give different reverse lookup results if you are inside the/a related container compared to being on the outside of the/a related container. This makes reverse lookup less useful for host identity validation.
| * fewer fallbacks and better error reportingHåvard Pettersen2018-06-011-10/+21
| |
* | Check return values in vespalib.Tor Egge2018-06-014-8/+18
|/
* Properly indentHenning Baldersheim2018-05-301-2/+2
|
* Avoid threading issue by properly initializing at startupHenning Baldersheim2018-05-301-19/+40
|
* = defaultHenning Baldersheim2018-05-291-1/+1
|
* Avoid crossing the creek multiple times to get an empty bucket of water.Henning Baldersheim2018-05-292-2/+14
|
* Merge pull request #5957 from vespa-engine/toregge/use-fallthrough-attributesHenning Baldersheim2018-05-272-12/+12
|\ | | | | Use fallthrough attributes.
| * Use fallthrough attributes.Tor Egge2018-05-272-12/+12
| |
* | Handle insertion of non-copyable keys and values in hash map.Tor Egge2018-05-274-0/+47
|/ | | | Handle insertion of non-copyable keys in hash set.
* packaging vespalib into RPM did not workArne Juul2018-05-161-38/+0
|
* Merge pull request #5868 from vespa-engine/arnej/update-error-messagesArne H Juul2018-05-152-5/+6
|\ | | | | cosmetic changes to error messages
| * cosmetic changes to error messagesArne Juul2018-05-152-5/+6
| | | | | | | | | | * some rewording to make it easier to find the corresponding documentation.
* | add RPM for vespa-libArne Juul2018-05-151-0/+38
|/
* relax testArne Juul2018-05-141-7/+1
|
* Ensure zero termination.Henning Baldersheim2018-05-111-1/+1
|
* Use memcpy when not working with stringsHenning Baldersheim2018-05-111-1/+1
|
* Catch by referenceHenning Baldersheim2018-05-111-2/+2
|
* Correct function castHenning Baldersheim2018-05-111-2/+3
|