nats.c icon indicating copy to clipboard operation
nats.c copied to clipboard

A C client for NATS

Results 62 nats.c issues
Sort by recently updated
recently updated
newest added

Example how to do it with github actions: https://github.com/rigtorp/MPMCQueue/blob/master/.github/workflows/ccpp.yml

enhancement

Hi all. I have been using the C client for a C++ project and have written a C++ wrapper and mocked the wrapper functions using Google Test. I was wondering...

It would be good to run (libFuzzer)[https://llvm.org/docs/LibFuzzer.html] or (AFL)[http://lcamtuf.coredump.cx/afl/] on the NATS parser to make sure that no invalid inputs can cause buffer overflows.

Internal functions should have `__attribute__((visibility("hidden")))` and public API functions should have attribute `__attribute__((visibility("default")))` (or MSVC equivalent). CMake can generate appropriate macros https://cmake.org/cmake/help/v3.0/module/GenerateExportHeader.html. The reason to do this is to avoid...

This copy of the discussion from https://groups.google.com/d/topic/natsio/0nuqWz1BWBY. The answer was no with explanation what wildcards should be used to subscribe to several subjects. Obviously if program should subscribe to logically...

enhancement

I have a use case where I need to process all of the messages in the message log before continuing. Is it possible to get statistics of the channel message...

enhancement

Recently I had a need to compile nats.c using MinGW-w64 w/ pthreads. Quickly I discovered an assumption in the project where pthreads is not to be used if _WIN32 is...

### Observed behavior Services have been added in v3.7.0, but there is absolutely no documentation ### Expected behavior There should be documentation about the Services API ### Server and client...

defect

### Observed behavior Just perusing the code...it seems the stream parameter is required but it's not listed in the usage. ### Expected behavior Include the stream parameter in the usage...

defect

### Observed behavior When testing with a very poor network, setting a connection timeout with `natsOptions_SetTimeout()` is not being respected. Regardless of what I set in milliseconds, the connection times...

defect