×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    31

    Angry Http data *receiving* problem

    Hi, everybody.
    I'm act like in httpclient example.

    but when i'm getting data, like below,
    i'm seeing in debugger that
    isLast = iRespBody->GetNextDataPart(dataChunk);

    isLast is 0 every time, even i'm doing in while
    while(isLast==EFalse)
    {
    //..handling response there
    iRespBody->GetNextDataPart(dataChunk);
    }

    By the way, iRespBody->OverallDataSize give me KERN-EXEC 3 Panic.

    What is wrong? Should i make my own GetNextDataPart function?

    Code:
    case THTTPEvent::EGotResponseBodyData:
    			{
    			// Get the body data supplier
    			
    			iRespBody = aTransaction.Response().Body();
    			TPtrC8 dataChunk;
        		
    			TBool isLast;
    			
    			
    			isLast = iRespBody->GetNextDataPart(dataChunk);
        		
    			HBufC16* dc=HBufC16::NewL(60000);
    			//dc->Des().Copy(dataChunk);
    			
    			isLast = iRespBody->GetNextDataPart(dataChunk);

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    31

    Red face Re: Http data *receiving* problem

    Solved by myself.

    Need to add such lines in
    case THTTPEvent::EGotResponseBodyData:

    Code:
    iRespBody->ReleaseData();
    And make sure, that big portions of data call a lot of time this case.
    All day having brain fighting with this one.

Similar Threads

  1. HTTP Transactions running in parallel problem
    By chandran.biju007 in forum Symbian
    Replies: 16
    Last Post: 2009-08-19, 06:23
  2. Http request/response problem
    By mrekha01 in forum Symbian
    Replies: 4
    Last Post: 2007-02-01, 09:51
  3. Problem in getting data from HTTP
    By victory in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-12-04, 13:35
  4. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  5. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×