Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
  • Loading branch information
yanjunxiang-google committed Feb 21, 2025
1 parent 08e695e commit 0d47181
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions api/envoy/service/ext_proc/v3/external_processor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,26 @@ service ExternalProcessor {
// This message specifies the filter protocol configurations which will be sent to the ext_proc
// server in a :ref:`ProcessingRequest <envoy_v3_api_msg_service.ext_proc.v3.ProcessingRequest>`.
// If the server does not support these protocol configurations, it may choose to close the gRPC stream.
// If the server supports these protocol configurations, it should respond based on the API specification.
// If the server supports these protocol configurations, it should respond based on the API specifications.
message ProtocolConfiguration {
// Specify whether the filter
// :ref:`request_body_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ProcessingMode.request_body_mode>`
// is set to FULL_DUPLEX_STREAMED. A "true" means Envoy is operating in the FULL_DUPLEX_STREAMED
// is set to ``FULL_DUPLEX_STREAMED``. Setting ``true`` means Envoy is operating in the ``FULL_DUPLEX_STREAMED``
// body mode in the request direction. The server needs to operate in that mode as well.
// A "false" means Envoy is expecting a response for each request it sends.
// Setting ``false`` means Envoy is expecting a response for each request it sends.
bool is_request_body_mode_full_duplex = 1;

// Specify whether the filter
// :ref:`response_body_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ProcessingMode.response_body_mode>`
// is set to FULL_DUPLEX_STREAMED. A "true" means Envoy is operating in the FULL_DUPLEX_STREAMED
// is set to ``FULL_DUPLEX_STREAMED``. Setting ``true`` means Envoy is operating in the ``FULL_DUPLEX_STREAMED``
// body mode in the response direction. The server needs to operate in that mode as well.
// A "false" means Envoy is expecting a response for each request it sends.

// Setting ``false`` means Envoy is expecting a response for each request it sends.
bool is_response_body_mode_full_duplex = 2;

// Specify whether the filter :ref:`send_body_without_waiting_for_header_response
// <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>`
// flag is set. If Envoy is waiting for a header response for the server, a "true" means Envoy will send body to the server
// as they arrive. A "false" means Envoy will buffer the arrived data and not send it to the server.
// flag is set. If Envoy is waiting for a header response for the server, Setting ``true`` means Envoy will send body to
// the server as they arrive. Setting ``false`` means Envoy will buffer the arrived data and not send it to the server.
bool send_body_without_waiting_for_header_response = 3;
}

Expand Down

0 comments on commit 0d47181

Please sign in to comment.