W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

POST sample crashes on NT if returning from terminate_handler

From: Himanshu Soni (Sunny) <sonih@xcert.com>
Date: Fri, 16 Jun 2000 13:49:27 -0700
Message-ID: <394A92D7.A59FAA78@xcert.com>
To: www-lib@w3.org
In termintate_handler in post.c in the Library/Examples:

PRIVATE int terminate_handler (HTRequest * request, HTResponse *
response, void * param, int status) 
{    
  /* We are done with this request */
  HTRequest_delete(request);
  /* Terminate libwww */
  HTProfile_delete();
  exit(0);
}


If I make the callback funtion retrun instead of exiting, the sample
crashes on windows NT.

Any pointers on how to solve this problem will be appricated.

Thanx

Himanshu Soni
Received on Friday, 16 June 2000 16:49:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT