mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-01 22:47:46 +00:00
chore(userspace/falco): grpc context format
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
60fac8d100
commit
82a7becd9a
@ -39,10 +39,10 @@ private:
|
|||||||
class stream_context : public context
|
class stream_context : public context
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
stream_context(grpc::ServerContext* ctx): context(ctx) {}
|
stream_context(grpc::ServerContext* ctx):
|
||||||
|
context(ctx){};
|
||||||
~stream_context() = default;
|
~stream_context() = default;
|
||||||
|
|
||||||
private:
|
|
||||||
enum : char
|
enum : char
|
||||||
{
|
{
|
||||||
STREAMING = 1,
|
STREAMING = 1,
|
||||||
@ -53,4 +53,4 @@ private:
|
|||||||
mutable void* m_stream = nullptr;
|
mutable void* m_stream = nullptr;
|
||||||
// Are there more responses to stream?
|
// Are there more responses to stream?
|
||||||
mutable bool m_has_more = false;
|
mutable bool m_has_more = false;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user