Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* name integer constants in keyword switch.
* Update gperf config.
- Use initializer suffix to silence warnings when
enabling all warnings.
- Mark the generated table as const
* Fix pointer to bool conversion warwning
```
collectors/plugins.d/pluginsd_parser.c:798:37: warning: address of 'parser->user' will always evaluate to 'true' [-Wpointer-bool-conversion]
_Bool can_copy = ((&parser->user) && ((&parser->user)->capabilities & (STREAM_CAP_IEEE754)) == (STREAM_CAP_IEEE754)) == ((&parser->user.v2.stream_buffer) && ((&parser->user.v2.stream_buffer)->capabilities & (STREAM_CAP_IEEE754)) == (STREAM_CAP_IEEE754));
~~~~~~~~^~~~ ~~
```
* Revert "Fix pointer to bool conversion warwning"
This reverts commit 01171d03126411999764196986ffbf163a7df1f3.
* Return parser error when handling an unknown keyword.
|
|
|
|
|
|
Use original summary for alert
Fetch transaction and global id for transitions safely
|
|
* Improve single thread load. Handle thread creation failure as well
Remove RRDHOST_FLAG_CONTEXT_LOAD_IN_PROGRESS
Improve chart label cleanup
* Init thread index
|
|
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com>
|
|
|
|
|
|
|
|
Free key and search pattern
|
|
|
|
reworked the cleanup to fix race conditions
|
|
|
|
|
|
* Limit scope of includes
* Remove h2o header from libnetdata
|
|
> warning: variable 'm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
|
|
This fixes the issue with the following code:
```
*WRITE_POS(frag) = (MQTT_CPT_SUBSCRIBE << 4) | 0x2 /* [MQTT-3.8.1-1] */;
```
assigning the constant 130 which is larger than
127.
|
|
Delete unused variable
|
|
|
|
* Use `-Werror` when checking compiler flags.
This should ensure that Clang rejects unknown flags correctly instead of
blindly eating some of them.
* Explicitly check C and C++ flags separately.
This should better handle the unusual case of mismatched compilers.
* Properly use Clang for C++ in our CI checks that build using Clang.
* Apply suggestions from code review
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* Use functions and loops when possible.
* Fix typos and broken loops.
* Fix more typos.
* Fix bogus commas.
* Fix caching of compiler flag checks.
* Fix flag variable names to make them behave correctly in checks.
CMake adds a preprocessor define with the name of the variable being
defined by a compiler flag check, so we need to ensure not only that
the variable name is unique, but also that it is a valid name for a C
preprocessor definition.
* Fix scoping.
* Fix botched merge during previous rebase.
---------
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
|
|
* fix thread name on fatal
* fix cgroup missing reference counter dup
|
|
|
|
keep the transaction id given in the request headers
|
|
fix_missing_aral: Add missing call
|
|
Fix warning note: ‘snprintf’ output between 2 and 4352 bytes into a destination of size 4096
CID 413881: Control flow issues (DEADCODE)
CID 413882: Control flow issues (DEADCODE)
CID 413883: Resource leaks (RESOURCE_LEAK)
|
|
|
|
|
|
|
|
|
|
* fix phtread-detatch() call
* fix variable tag
|
|
* initial version
* basic GitHub Actions CI
* Create README.md
* run GitHub Action at least once weekly
to check test pass if distro was updated but project doesn't get
any change for long time
* add test for rbuf_find_bytes
* minor - add .vscode to .gitignore
* minor - add CFLAGS to makefile
* minor - silence unused var warning
* minor - update readme
* add submodules
* initial commit
* add README
* allow setting MQTT LWT
* allow setting LWT QOS
* handle MQTT keep-alives properly
* allow choosing keep alive time
* handle WS_OP_CONNECTION_CLOSE
* allow sending other frames than WS_OP_BINARY_FRAME
* minor readability improvements
* work on graceful disconnect
* reset ws_client state on subsequent connections
* implement mqtt_wss_destroy
* more descriptive RC for mqtt_wss_service
* properly free/destroy SSL
* work on reconnect
* set return code for WS disconnect
* Less logging under normal operation
* readme point to `test.c` as how-to for now
* OpenSSL certificate checking by default
* reset poll_fds on reconnect
* fix older SSL versions
* empty install and dist targets
* fix LGTM warning
* add rbuf_get_capacity
* gh actions test
* ws_ping impl
* test.c - port as cmd line param
* properly handle WebSocket disconnect packet
* initial HTTPS proxy support
* remove base64 submodule, use OpenSSL
* change to urandom
* ws_client_process WS_RAW retval fix
* coverity fixes
* CID 1448838
* CID 1448836
* CID 1448829
* test check for error on init
* make it play nicer with automake projects
* MQTT-C coverity fixes
* Create codeql-analysis.yml
* Make typedef introduce a new name for struct. (#2)
* add autotools related files to gitignore
* minor - silence -Wmaybe-uninitialized warning
* reinit on MQTT clean session connect
* fix apple endianness functions
* add libcrypto for macos
* MacOS compatibility
* fix FreeBSD build
* use TLS SNI
* propagate buffer full EC to app layer
* store buffer sizes in mqtt_wss_client
* allow auto buffer growth on buffer too small
* quicker connection drop on BUFFER FULL
* always clear last_ec on connect
* parse all HTTP headers
* minor - rename constant for clarity
* rename idx and idx2 for code readability
* limit response header field count
* flush not needed, replace with descriptive err msg
* bump MQTT-C
* Blocking publish and inflight MQTT-C buffer growth
* update obsolete comment
* add missing unlock in error case
* fix EINTR
* initial MQTT 5 implementation
Implements minimal MQTT 5 features. Up to QoS1
* fixes for bugs in initial MQTT5 implementation
* initial statistics support
* fix vbi parser
* initial base http proxy auth support
* fix base64 helper for longer credentials
* minor - create with single allocation
* allow defining custom alloc functions for user
* Allow custom memory fncs and macros by user (#5)
* update crbuf module
* allow custom malloc, free, strdup, calloc ...
* use long long for till_next_keep_alive
* dont send PUBACK on QOS0 (#6)
* fix publish parser (#7)
* mark QoS0 as GC on send (#8)
* log extra info in case of OpenSSL error (#9)
* log extra info in case of SSL error
* fix build error with older SSL (#10)
* adds possibility to decrypt traffic with wireshark for debugging (#13)
* initial commit
* add fncs key:uint64 and data:opaque ptr
* add uint64_t key iterator
* add github test runner
* start working on proper tests
* Initial support for topic aliases (#12)
Add support for topic alias functionality for PUBLISH packets
also adds support for parsing all MQTT properties as opposed to just skipping and ignoring them (what we did previously)
* implement c_rhash_iter_str_keys + tests
* Fixes of Topic Alias implementation (#14)
* initial removal of mqtt-c support (#15)
* honor max msglen for server (#19)
* Update README.md (#20)
* memory align fragments (#21)
* Remove mqtt_websocket submodule
* Remove c-rbuf and c_rhash submodules
* Exclude mqtt_websockets from Codacy
It seems that it was excluded before merging
the mqtt_websockets submodule.
---------
Co-authored-by: Timotej Šiškovič <timotejs@gmail.com>
Co-authored-by: Timotej S <6674623+underhood@users.noreply.github.com>
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
|
|
* fix sanitizer errors in logs.c
* fix sanitizer errors in rrdlabels.c
* cleanup sanitizer exceptions
|
|
* Delete memory modes "map" and "save".
* Remove unmaintained exporting tests
* Remove references of map/save modes in docs.
* Remove more references to map/save from docs.
|
|
|
|
|
|
|
|
* split rrdfunctions streaming and progress
* simplified internal inline functions API
* split rrdfunctions inflight management
* split rrd functions exporters
* renames
* base dyncfg structure
* config pluginsd
* intercept dyncfg function calls
* loading and saving of dyncfg metadata and data
* save metadata and payload to a single file; added code to update the plugins with jobs and saved configs
* basic working unit test
* added payload to functions execution
* removed old dyncfg code that is not needed any more
* more cleanup
* cleanup sender for functions with payload
* dyncfg functions are not exposed as functions
* remaining work to avoid indexing the \0 terminating character in dictionary keys
* added back old dyncfg plugins.d commands as noop, to allow plugins continue working
* working api; working streaming;
* updated plugins.d documentation
* aclk and http api requests share the same header parsing logic
* added source type internal
* fixed crashes
* added god mode for tests
* fixes
* fixed messages
* save host machine guids to configs
* cleaner manipulation of supported commands
* the functions event loop for external plugins can now process dyncfg requests
* unified internal and external plugins dyncfg API
* Netdata serves schema requests from /etc/netdata/schema.d and /var/lib/netdata/conf.d/schema.d
* cleanup and various fixes; fixed bug in previous dyncfg implementation on streaming that was sending the paylod in a way that allowed other streaming commands to be multiplexed
* internals go to a separate header file
* fix duplicate ACLK requests sent by aclk queue mechanism
* use fstat instead of stat
* working api
* plugin actions renamed to create and delete; dyncfg files are removed only from user actions
* prevent deadlock by using the react callback
* fix for string_strndupz()
* better dyncfg unittests
* more tests at the unittests
* properly detect dyncfg functions
* hide config functions from the UI
* tree response improvements
* send the initial update with payload
* determine tty using stdout, not stderr
* changes to statuses, cleanup and the code to bring all business logic into interception
* do not crash when the status is empty
* functions now propagate the source of the requests to plugins
* avoid warning about unused functions
* in the count at items for attention, do not count the orphan entries
* save source into dyncfg
* make the list null terminated
* fixed invalid comparison
* prevent memory leak on duplicated headers; log x-forwarded-for
* more unit tests
* added dyncfg unittests into the default unittests
* more unit tests and fixes
* more unit tests and fixes
* fix dictionary unittests
* config functions require admin access
|
|
* Consistent naming of STORAGE_INSTANCE instances.
Replace usages of `db_instance` and `instance` with
`si`.
* Rename array `storage_metrics_groups[tier]` to `smg[tier]`
* Rename db_metric_handle to smh
* Rename instances of `storage_engine_query_handle` to `seqh`.
* Rename instances of STORAGE_ENGINE_BACKEND to `seb`.
* Rename instances of STORAGE_COLLECT_HANDLE to `sch`.
|