POST sample crashes on NT if returning from terminate_handler

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 UTC