Comments (4)
Executing the following test case on org.apache.httpcomponents:httpclient:4.5.2 and 4.3.1 separately, the risky method <org.apache.http.client.config.RequestConfig: toString()Ljava/lang/String;> will get different return values:
@Test(timeout = 4000)
public void test01() throws Throwable {
RequestConfig requestConfig0 = RequestConfig.DEFAULT;
String string0 = requestConfig0.toString();
assertEquals("[expectContinueEnabled=false, " +
"proxy=null, " +
"localAddress=null, " +
"cookieSpec=null, " +
"redirectsEnabled=true, " +
"relativeRedirectsAllowed=true, " +
"maxRedirects=50, " +
"circularRedirectsAllowed=false, " +
"authenticationEnabled=true, " +
"targetPreferredAuthSchemes=null, " +
"proxyPreferredAuthSchemes=null, " +
"connectionRequestTimeout=-1, " +
"connectTimeout=-1, " +
"socketTimeout=-1, " +
"contentCompressionEnabled=true]", string0);
}
Output results:
string0 == ", expectContinueEnabled=false, proxy=null, localAddress=null, staleConnectionCheckEnabled=true, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=-1, connectTimeout=-1, socketTimeout=-1]"
//On **org.apache.httpcomponents:httpclient:4.3.1**
string0 == "[expectContinueEnabled=false, proxy=null, localAddress=null, cookieSpec=null, redirectsEnabled=true, relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false, authenticationEnabled=true, targetPreferredAuthSchemes=null, proxyPreferredAuthSchemes=null, connectionRequestTimeout=-1, connectTimeout=-1, socketTimeout=-1, contentCompressionEnabled=true]"
//On **org.apache.httpcomponents:httpclient:4.5.2**
from freedomotic.
@mcicolella Could please help me check this issue?
May I pull a request to fix it?
Thanks again.
from freedomotic.
Hi @HelloCoCooo, thanks for your detailed report.
Maybe the solution 2 could be adopted. Also "push" plugin requires the same dependency but it uses a different version.
Please check if the project compiles and runs correctly and then submit a PR if you want.
Thanks.
from freedomotic.
Fixed in #491
from freedomotic.
Related Issues (20)
- Create a Zigbee plugin
- Make Freedomotic compatible with Java 11 HOT 13
- Add icons with transparent background to Mailer plugin HOT 3
- Add icons with transparent background to Scheduler plugin HOT 2
- Changing object's label name causes problems in Freedomotic HOT 1
- Update Swagger to the latest version HOT 7
- Directory listing (Most)
- Add ObjectHasChanged event HOT 2
- Investigate why RestAPI tests fail HOT 4
- Add/update a translation for your language HOT 24
- Failure in building freedomotic-model 5.6-SNAPSHOT HOT 2
- Freedomotic should have an univocal instance UUID in p2p
- Swagger should point to univocal Freedomotic’s instance (UUID) in p2p
- Complete connections between Freedomotic API and PhPMyDomo HOT 1
- Fix icon position in Plugin card HOT 1
- Import/export customized environment configuration file HOT 1
- Add a workflow for CI with Github Actions HOT 1
- Review Dockerfile to manage Github CI dailybuilds HOT 1
- Enable dailybuilds publishing on GitHub HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freedomotic.