equal
deleted
inserted
replaced
50 // EXTERNAL FUNCTION PROTOTYPES |
50 // EXTERNAL FUNCTION PROTOTYPES |
51 //extern ?external_function( ?arg_type,?arg_type ); |
51 //extern ?external_function( ?arg_type,?arg_type ); |
52 |
52 |
53 // CONSTANTS |
53 // CONSTANTS |
54 const TInt KShutDownTimer = 60*1000000; //60 sec - Updated to 60 secs as part of error fix JSIN-7JSE6H |
54 const TInt KShutDownTimer = 60*1000000; //60 sec - Updated to 60 secs as part of error fix JSIN-7JSE6H |
55 |
55 const TInt KCommBufferSize = 48 * 1024; |
56 // MACROS |
56 // MACROS |
57 //#define ?macro ?macro_def |
57 //#define ?macro ?macro_def |
58 |
58 |
59 // LOCAL CONSTANTS AND MACROS |
59 // LOCAL CONSTANTS AND MACROS |
60 //const ?type ?constant_var = ?constant; |
60 //const ?type ?constant_var = ?constant; |
943 |
943 |
944 // RConnection and Socket Server |
944 // RConnection and Socket Server |
945 connInfo.SetPropertyL ( strPool.StringF(HTTP::EHttpSocketServ, |
945 connInfo.SetPropertyL ( strPool.StringF(HTTP::EHttpSocketServ, |
946 RHTTPSession::GetTable()), |
946 RHTTPSession::GetTable()), |
947 THTTPHdrVal (iClientApp->Engine()->SocketServ().Handle()) ); |
947 THTTPHdrVal (iClientApp->Engine()->SocketServ().Handle()) ); |
948 |
948 // Set receive buffer size to 48 KB |
|
949 connInfo.SetPropertyL(strPool.StringF(HTTP::ERecvBufferSize, |
|
950 RHTTPSession::GetTable()), THTTPHdrVal(KCommBufferSize)); |
|
951 |
949 TInt connPtr1 = REINTERPRET_CAST(TInt, &iConnection); |
952 TInt connPtr1 = REINTERPRET_CAST(TInt, &iConnection); |
950 connInfo.SetPropertyL ( strPool.StringF(HTTP::EHttpSocketConnection, |
953 connInfo.SetPropertyL ( strPool.StringF(HTTP::EHttpSocketConnection, |
951 RHTTPSession::GetTable() ), THTTPHdrVal (connPtr1) ); |
954 RHTTPSession::GetTable() ), THTTPHdrVal (connPtr1) ); |
952 } |
955 } |
953 |
956 |