On Wed, Jun 17, 2009 at 12:27 PM, Lorenzo Fiorini
<lorenzo.fior...@gmail.com> wrote:

> Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes
> Called from HB_INETRECVLINE(0)
> Called from THTTPREQUEST:ACTIVATE(313) in ../dbl/httpsrv.prg
> Called from PRGHTTPHANDLER:GETREQUEST(104) in ../dbl/httpsrv.prg
> Called from THTTPSERVER:START(209) in ../dbl/httpsrv.prg
> Called from HTTPSERVER(1172) in ../dbl/httpsrv.prg
> Called from MAIN(41) in ../ths/ths.prg

If I copy the restore the previous hbinet.c it works.

Could the problem being here:

-   if( pBufferSize )
-   {
-      iBufferSize = hb_itemGetNI( pBufferSize );
-   }
-   else
-   {
-      iBufferSize = 80;
-   }
-
-   if( pMaxSize )
-   {
-      iMax = hb_itemGetNI( pMaxSize );
-   }
-   else
-   {
-      iMax = 0;
-   }
+   iBufferSize = pBufferSize ? hb_itemGetNI( pBufferSize ) : 0;  <--- 80

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to