Skip to content

Commit 5a72618

Browse files
Revert "Update grpc version from 1.20.0 to 1.40.0 (Azure#450)"
This reverts commit b9c9894.
1 parent b9c9894 commit 5a72618

20 files changed

+4
-39
lines changed
218 KB
Binary file not shown.
-274 KB
Binary file not shown.
4.88 KB
Binary file not shown.
-5.06 KB
Binary file not shown.

lib_worker_1.6.2/grpc-stub-1.20.0.jar

38.6 KB
Binary file not shown.

lib_worker_1.6.2/grpc-stub-1.40.0.jar

-48.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-484 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

pom.xml

+3-38
Original file line numberDiff line numberDiff line change
@@ -76,47 +76,17 @@
7676
<dependency>
7777
<groupId>io.grpc</groupId>
7878
<artifactId>grpc-protobuf</artifactId>
79-
<version>1.40.0</version>
79+
<version>1.20.0</version>
8080
</dependency>
8181
<dependency>
8282
<groupId>io.grpc</groupId>
8383
<artifactId>grpc-stub</artifactId>
84-
<version>1.40.0</version>
84+
<version>1.20.0</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>io.grpc</groupId>
8888
<artifactId>grpc-netty</artifactId>
89-
<version>1.40.0</version>
90-
</dependency>
91-
<dependency>
92-
<groupId>io.netty</groupId>
93-
<artifactId>netty-codec</artifactId>
94-
<version>4.1.61.Final</version>
95-
</dependency>
96-
<dependency>
97-
<groupId>io.netty</groupId>
98-
<artifactId>netty-codec-http2</artifactId>
99-
<version>4.1.61.Final</version>
100-
</dependency>
101-
<dependency>
102-
<groupId>io.netty</groupId>
103-
<artifactId>netty-transport</artifactId>
104-
<version>4.1.61.Final</version>
105-
</dependency>
106-
<dependency>
107-
<groupId>io.netty</groupId>
108-
<artifactId>netty-handler</artifactId>
109-
<version>4.1.61.Final</version>
110-
</dependency>
111-
<dependency>
112-
<groupId>io.netty</groupId>
113-
<artifactId>netty-codec-http</artifactId>
114-
<version>4.1.61.Final</version>
115-
</dependency>
116-
<dependency>
117-
<groupId>io.netty</groupId>
118-
<artifactId>netty-handler-proxy</artifactId>
119-
<version>4.1.61.Final</version>
89+
<version>1.20.0</version>
12090
</dependency>
12191
<dependency>
12292
<groupId>org.apache.commons</groupId>
@@ -149,11 +119,6 @@
149119
<version>1.49</version>
150120
<scope>test</scope>
151121
</dependency>
152-
<dependency>
153-
<groupId>com.google.code.gson</groupId>
154-
<artifactId>gson</artifactId>
155-
<version>2.8.5</version>
156-
</dependency>
157122
</dependencies>
158123

159124
<build>

src/main/java/com/microsoft/azure/functions/worker/JavaWorkerClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
public class JavaWorkerClient implements AutoCloseable {
2323
public JavaWorkerClient(IApplication app) {
2424
WorkerLogManager.initialize(this, app.logToConsole());
25-
ManagedChannelBuilder<?> chanBuilder = ManagedChannelBuilder.forAddress(app.getHost(), app.getPort()).usePlaintext();
25+
ManagedChannelBuilder<?> chanBuilder = ManagedChannelBuilder.forAddress(app.getHost(), app.getPort()).usePlaintext(true);
2626
chanBuilder.maxInboundMessageSize(Integer.MAX_VALUE);
2727

2828
this.channel = chanBuilder.build();

0 commit comments

Comments
 (0)