-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP requests to url? #1
Comments
Hi, do you need a http client or server? Currently the http client and http connection pool have been implemented. The http server has not been done. |
Hi, sorry. I need a http client which you already have sorry for the confusion! I do have another question I have some trouble building your repo after installing F-stack with DPDK
but build dir is empty:
|
Hi, I forgot to add one line between |
Thanks for the speedy response. Another issue arises:
|
@bruHFT Just fixed. You can pull again and test. |
It got one step further, but not quite done
|
Updated, please try again. |
thank you very much cmake now worked!
but error in
|
This error is caused by the fact that the latest version of |
Thank you very much will check this out tomorrow! |
I compiled F-stack using your fork. It got a bit further but
|
You can omit the -j6 parameter if the cpu resource is limited. |
thanks that worked! how to run the http client?
|
If you want to use f-stack with flashws, you need to pass the config file to it, which is required by f-stack. The ip info is written in the config file. You can check the hello world example in the f-stack to get started. |
Thanks, with passing the config file to f-stack do you mean? |
Yes, it's the parameters like |
I made some updates, you can try again with the configs set. |
Thank you. It seems to work now, but this is just simply the F-stack
|
The program you run should use HTTP GET to fetch the http content from some sites like google.com and print to stdout. |
You can refer to this config, and change the ip and gateway to suit your machine. |
Ah thank you! I'm using AWS and have added an additional NIC, so have to figure out where I can exactly find gateway, but IP is known. Will follow up later |
Hi! I reattempted to use F-stack on Amazon Linux (AL) this time instead of Ubuntu since AL automatically sets up the additional NIC I added. Now the helloworld of F stack application was working fine, since when interacting with the server on the client machine I got the following: But running the https client of flashws still does not fetch any requests. Have you got any ideas? |
I need more information to know the situation, including the Code, the network structure and configurations. For example, did you let DPDK to take the ownership of the NIC in the client machine? And is the client‘s NIC in the same sub-network as the server? What's the security group settings? Did you make sure the client turned off the TLS, if the server is not running a https service? |
And for test, you can use the original https client code, which send a GET request to a public website, and assign a puiblic ip to the network interface that would be controlled by DPDK. |
Hello Developer,
The repository you have made looks very interesting and we were wondering whether we can use the code to send and receive HTTP requests to a certain URL. We can see a HTTP client, but not a server. Any guidance to achieves these goals will be highly appreciated.
Thank you
The text was updated successfully, but these errors were encountered: