Click here to Skip to main content
15,898,371 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: std::string Pin
Igor Vigdorchik25-Jul-05 9:27
Igor Vigdorchik25-Jul-05 9:27 
Generalusing auto_ptr Pin
kramkrish21-Jul-05 1:17
kramkrish21-Jul-05 1:17 
GeneralRe: using auto_ptr Pin
Nish Nishant21-Jul-05 1:41
sitebuilderNish Nishant21-Jul-05 1:41 
GeneralRe: using auto_ptr Pin
Nish Nishant21-Jul-05 1:43
sitebuilderNish Nishant21-Jul-05 1:43 
GeneralRe: using auto_ptr Pin
kramkrish22-Jul-05 3:46
kramkrish22-Jul-05 3:46 
GeneralRe: using auto_ptr Pin
Jörgen Sigvardsson23-Jul-05 3:21
Jörgen Sigvardsson23-Jul-05 3:21 
GeneralRe: using auto_ptr Pin
Nish Nishant23-Jul-05 4:31
sitebuilderNish Nishant23-Jul-05 4:31 
GeneralBUG: ATL 7.0 fails if chunk size is 07ff (2047 bytes) Pin
arun140520-Jul-05 4:54
arun140520-Jul-05 4:54 
Hi Folks,

I am using Microsoft Visual Studio .NET 2003 (Visual C++ 7.1) to access a webservice.

Scenario is:

I make a call to one of the methods of webservice. The call goes succesfully through the webservice. However, it fails while reading the response back from the webservice.

This happens for a specific case if the chunk size is 07ff or 0800 bytes. Here, chunk size is the size of the SOAP response (it does not include HTTP header & footer size). Technically it is the value calculated as nChunkSize on line 1818 in atlhttp.inl.

The code line is:
cresult = get_chunked_size(chunk_buffer, chunk_buffer_end, &nChunkSize);

The call fails because a value of LEX_ERROR is set by the "consume_chunk_footer" function of atlhttp.inl. It seems to me that in this particular case, the socket reads 1 byte less than the actual no. of bytes to be read, and so, it does not find the character '\n' which makes this function to return LEX_ERROR instead of LEX_OK.

I have tested this taking various data. But it fails only for the above scenario.

This seems to be a definite BUG. However, I am not sure if the patch already exists for it. If someone has any workarounds, do let me know.

Regards,
Arun Gupta.
GeneralImporting foreign types in IDL File Pin
morenz19-Jul-05 6:49
morenz19-Jul-05 6:49 
GeneralRe: Importing foreign types in IDL File Pin
morenz20-Jul-05 0:54
morenz20-Jul-05 0:54 
GeneralPlz give me some advice about my code (IE Programming/ATL/COM/MFC) Pin
19-Jul-05 3:10
suss19-Jul-05 3:10 
GeneralRe: Plz give me some advice about my code (IE Programming/ATL/COM/MFC) Pin
Douglas Troy19-Jul-05 7:00
Douglas Troy19-Jul-05 7:00 
GeneralRe: Plz give me some advice about my code (IE Programming/ATL/COM/MFC) Pin
Member 212103819-Jul-05 17:25
Member 212103819-Jul-05 17:25 
GeneralATLSTR.H & SHOBJIDL.H not found Pin
TOMCAT8118-Jul-05 20:20
TOMCAT8118-Jul-05 20:20 
GeneralRe: ATLSTR.H & SHOBJIDL.H not found Pin
Douglas Troy19-Jul-05 6:43
Douglas Troy19-Jul-05 6:43 
GeneralRe: ATLSTR.H & SHOBJIDL.H not found Pin
TOMCAT8120-Jul-05 22:24
TOMCAT8120-Jul-05 22:24 
GeneralDuplicate Methos Name in ATL, please help I will rate yr answer Pin
LongIsland16-Jul-05 7:56
LongIsland16-Jul-05 7:56 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson16-Jul-05 10:25
Jörgen Sigvardsson16-Jul-05 10:25 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
LongIsland16-Jul-05 14:20
LongIsland16-Jul-05 14:20 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson16-Jul-05 22:13
Jörgen Sigvardsson16-Jul-05 22:13 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong18-Jul-05 3:53
Lim Bio Liong18-Jul-05 3:53 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong18-Jul-05 5:53
Lim Bio Liong18-Jul-05 5:53 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson19-Jul-05 9:54
Jörgen Sigvardsson19-Jul-05 9:54 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong19-Jul-05 13:30
Lim Bio Liong19-Jul-05 13:30 
GeneralQuestion about ATL library ca2wex class Pin
Marcel_115-Jul-05 11:02
Marcel_115-Jul-05 11:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.