Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd July 2008, 06:24
hiharsh hiharsh is offline
Junior Member
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP POST request over GPRS doesn't work.

Hi All,

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)


Please recommend anything to fix this?
Reply With Quote
Sponsored Links
  #2  
Old 23rd July 2008, 12:29
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

your provider could have a firewall with deep packet inspection that is configured to block POST requests.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 23rd July 2008, 16:52
hiharsh hiharsh is offline
Junior Member
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP POST request fails over GPRS

Hi,

I missed to mention that I am able to send HTTP POST using CURL library.

If the ISP has Deep Packet Inspection enable, I shouldn't be able to send data to the HTTP server using CURL library.

I want to send the data over the Socket connection without using the CURL library. As such CURL library sends Header information with all the POST request.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
Statistics not compiling. thevinster Installation/Configuration 137 11th November 2010 10:54
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Logsize issue cryptic General 46 7th April 2008 22:29
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02


All times are GMT +2. The time now is 18:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.