[
https://issues.apache.org/jira/browse/TINKERPOP-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630058#comment-17630058
]
ASF GitHub Bot commented on TINKERPOP-2480:
-------------------------------------------
spmallette commented on code in PR #1838:
URL: https://github.com/apache/tinkerpop/pull/1838#discussion_r1015951820
##########
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Channelizer.java:
##########
@@ -178,10 +180,14 @@ public void configure(final ChannelPipeline pipeline) {
throw new IllegalStateException("To use wss scheme ensure that
enableSsl is set to true in configuration");
final int maxContentLength =
cluster.connectionPoolSettings().maxContentLength;
+ HttpHeaders httpHeaders = new DefaultHttpHeaders();
Review Comment:
nit: please review changes to make sure variables that can be `final` are
marked as such.
> User agent for Gremlin drivers
> ------------------------------
>
> Key: TINKERPOP-2480
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2480
> Project: TinkerPop
> Issue Type: Improvement
> Components: driver, server
> Affects Versions: 3.4.8
> Reporter: Divij Vaidya
> Priority: Minor
>
> Currently, a server does not distinguish amongst the different types of
> clients connecting to it. This issue is to add a new feature to add user
> agent field in the HTTP and WebSocket request header which could be used to
> identify the specific client from which the request was made.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)