Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
I have been trying to solve a puzzle for last 15 odd days. I am using WindRiver Linux.
I have ppp connection to send data over GPRS.
My client code has been tested on Ethernet. I mean I can send data using HTTP POST request using the client code. I can get response of HTTP GET request as well.
The same code works well for the HTTP GET request over the GPRS when the connection is established using PPP.
The only problem I face is that HTTP POST request doesn't go through. The server even doesn't get the request.(I am using the same PPP connection which used during the HTTP GET request).
I have checked the HTTP POST request syntax. I believe that it is fine since, I can send the same request over the Ethernet and I get the response from the server.
In short
1) HTTP POST AND HTTP GET request over ETHERNET works 100% fine.
2) HTTP GET request over GPRS works fine.
3) HTTP POST request over GPRS doesn't work.(Even request doesn't reach to the server).
I tried most of the debugging. The only difference in HTTP GET and HTTP POST request is the size of the data.
I know that my cmux protocol (gsm0710) doesn't allow to transmit more than 255 bytes at one shot.
But the GET request is also greater than 255 bytes (Including TCP/IP header overhead)
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe