Consultor Eletrônico



Kbase P122603: Error 9324 when reading data from a socket into character variable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/2/2007
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Reading data from socket into character variable

Application randomly fails with error 9324

Attempt to exceed maximum size of a CHARACTER variable. (9324)

CAUSE:

The amount of data that was ready to be read from the socket exceeded the maximum size of a character variable (32K). The application code incorrectly assumed that there would always be less than 32K available to be read.

FIX:

Modify the application code to properly handle the situation where more than 32K of data is available to be read.