Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » http client can't show response code
http client can't show response code [message #1848070] Thu, 18 November 2021 21:38
Eclipse UserFriend
version: 2.0.0

I'm using an http client with two RDs.However, the response code and http content cannot be correctly displayed on the two RDs.

After reading the related code, I find that the problem is caused by the "fromString" function used in "apoRDs[0].fromString(responseCode.getValue())" in line 353 of the httplayer.cpp file. This function checks whether the character string contains "#", but the response code and content do not contain "#".

I'm not very familiar with the syntax of C++, but I'm sure it's the problem. Hopefully someone can fix this.

Thanks.
Previous Topic:4DIAC Forte Build with FreeRtos
Next Topic:How to use 4diac as http server
Goto Forum:
  


Current Time: Sun Jul 13 05:01:28 EDT 2025

Powered by FUDForum. Page generated in 0.03423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top