[DGD] Fatal error when no user object returned

Raymond Jennings shentino at gmail.com
Tue Jun 5 08:33:19 CEST 2018


In My Opinion (tm):

Failing to return the proper type in a driver hook is a fundamental
API violation.

However, I think you can still just cause a runtime error and not return at all.

Plus you could always have a burner object that just disconnects
immediately when it's assigned a connection.  Not that hard.

On Mon, Jun 4, 2018 at 11:26 PM, Blain <blain20 at gmail.com> wrote:
> Instead of closing DGD when no user object is returned, would it be more
> prudent to just close the incoming connection?
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list