Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Add initial OpenSSL CryptoEngine implementation and key/cert handling" | Tor Brede Vekterli | 2018-09-04 | 19 | -1229/+0 |
| | |||||
* | Explicit vespalib string namespace prefixing | Tor Brede Vekterli | 2018-09-03 | 3 | -15/+13 |
| | |||||
* | Use correct TLSv1.2 max frame size limits | Tor Brede Vekterli | 2018-09-03 | 2 | -10/+14 |
| | |||||
* | Address code review comments | Tor Brede Vekterli | 2018-09-03 | 8 | -33/+50 |
| | |||||
* | Add initial OpenSSL CryptoEngine implementation and key/cert handling | Tor Brede Vekterli | 2018-08-31 | 19 | -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 Pettersen | 2018-08-30 | 2 | -0/+24 |
|\ | | | | | | | | | vespa-engine/havardpe/integrate-crypto-engine-in-fnet integrate Crypto{Engine,Socket} into fnet | ||||
| * | fixes based on feedback | Håvard Pettersen | 2018-08-28 | 1 | -1/+1 |
| | | | | | | | | | | - do not check broken flag when doing flush - use auto-detection of guard template parameter | ||||
| * | integrate Crypto{Engine,Socket} into fnet | Håvard Pettersen | 2018-08-27 | 2 | -0/+24 |
| | | |||||
* | | Add move assignment and move constructor to CloneablePtr and IdentifiablePtr. | Tor Egge | 2018-08-29 | 1 | -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 APIs | Håvard Pettersen | 2018-08-24 | 5 | -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 rendezvous | Håvard Pettersen | 2018-08-13 | 3 | -28/+62 |
| | |||||
* | Remove whitespace | Henning Baldersheim | 2018-08-12 | 13 | -38/+38 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-11 | 10 | -47/+41 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-10 | 16 | -116/+116 |
| | |||||
* | Merge pull request #6485 from ↵ | Henning Baldersheim | 2018-08-08 | 1 | -2/+7 |
|\ | | | | | | | | | vespa-engine/balder/transfer-when-selecting-the-best Balder/transfer when selecting the best | ||||
| * | Improve tests by tightening it. | Henning Baldersheim | 2018-08-08 | 1 | -2/+7 |
| | | |||||
* | | Add fsync calls to reduce probability of unexpected state after a crash. | Tor Egge | 2018-08-02 | 2 | -0/+19 |
|/ | |||||
* | Merge pull request #6469 from ↵ | Tor Brede Vekterli | 2018-07-26 | 12 | -125/+123 |
|\ | | | | | | | | | vespa-engine/vekterli/remove-dangerous-stringref-c_str-function Remove dangerous stringref::c_str() | ||||
| * | Remove stringref::c_str() | Tor Brede Vekterli | 2018-07-25 | 12 | -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. | ||||
* | | Deinline | Henning Baldersheim | 2018-07-26 | 2 | -1/+4 |
|/ | |||||
* | Add control of cache update policy when an item changes value. | Henning Baldersheim | 2018-07-19 | 2 | -14/+16 |
| | |||||
* | use new C++ noreturn syntax | Arne Juul | 2018-06-21 | 1 | -3/+4 |
| | |||||
* | some more cleanup | Arne Juul | 2018-06-20 | 3 | -4/+4 |
| | |||||
* | move LOG_SETUP after other includes | Arne Juul | 2018-06-20 | 2 | -0/+2 |
| | |||||
* | add and use HDR_ABORT instead | Arne Juul | 2018-06-20 | 3 | -3/+40 |
| | |||||
* | Merge branch 'master' into arnej/use-log-abort | Arne Juul | 2018-06-20 | 1 | -1/+0 |
|\ | |||||
| * | cleanup leftovers | Arne Juul | 2018-06-13 | 1 | -1/+0 |
| | | |||||
* | | use LOG_ABORT not just abort() | Arne Juul | 2018-06-12 | 11 | -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 Baldersheim | 2018-06-12 | 3 | -3/+70 |
| | |||||
* | clean up remnants of .mak files | Arne Juul | 2018-06-11 | 1 | -1/+0 |
| | |||||
* | Merge pull request #6055 from ↵ | Henning Baldersheim | 2018-06-04 | 2 | -25/+21 |
|\ | | | | | | | | | vespa-engine/havardpe/simplify-detect-validate-hostname Havardpe/simplify detect validate hostname | ||||
| * | drop reverse lookup of ip addresses | Håvard Pettersen | 2018-06-01 | 1 | -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 reporting | Håvard Pettersen | 2018-06-01 | 1 | -10/+21 |
| | | |||||
* | | Check return values in vespalib. | Tor Egge | 2018-06-01 | 4 | -8/+18 |
|/ | |||||
* | Properly indent | Henning Baldersheim | 2018-05-30 | 1 | -2/+2 |
| | |||||
* | Avoid threading issue by properly initializing at startup | Henning Baldersheim | 2018-05-30 | 1 | -19/+40 |
| | |||||
* | = default | Henning Baldersheim | 2018-05-29 | 1 | -1/+1 |
| | |||||
* | Avoid crossing the creek multiple times to get an empty bucket of water. | Henning Baldersheim | 2018-05-29 | 2 | -2/+14 |
| | |||||
* | Merge pull request #5957 from vespa-engine/toregge/use-fallthrough-attributes | Henning Baldersheim | 2018-05-27 | 2 | -12/+12 |
|\ | | | | | Use fallthrough attributes. | ||||
| * | Use fallthrough attributes. | Tor Egge | 2018-05-27 | 2 | -12/+12 |
| | | |||||
* | | Handle insertion of non-copyable keys and values in hash map. | Tor Egge | 2018-05-27 | 4 | -0/+47 |
|/ | | | | Handle insertion of non-copyable keys in hash set. | ||||
* | packaging vespalib into RPM did not work | Arne Juul | 2018-05-16 | 1 | -38/+0 |
| | |||||
* | Merge pull request #5868 from vespa-engine/arnej/update-error-messages | Arne H Juul | 2018-05-15 | 2 | -5/+6 |
|\ | | | | | cosmetic changes to error messages | ||||
| * | cosmetic changes to error messages | Arne Juul | 2018-05-15 | 2 | -5/+6 |
| | | | | | | | | | | * some rewording to make it easier to find the corresponding documentation. | ||||
* | | add RPM for vespa-lib | Arne Juul | 2018-05-15 | 1 | -0/+38 |
|/ | |||||
* | relax test | Arne Juul | 2018-05-14 | 1 | -7/+1 |
| | |||||
* | Ensure zero termination. | Henning Baldersheim | 2018-05-11 | 1 | -1/+1 |
| | |||||
* | Use memcpy when not working with strings | Henning Baldersheim | 2018-05-11 | 1 | -1/+1 |
| | |||||
* | Catch by reference | Henning Baldersheim | 2018-05-11 | 1 | -2/+2 |
| | |||||
* | Correct function cast | Henning Baldersheim | 2018-05-11 | 1 | -2/+3 |
| |