vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Enum member HTTPServerOption.errorStackTraces

Enables stack traces (HTTPServerErrorInfo.debugMessage).

struct HTTPServerOption
{
  // ...
  enum errorStackTraces = cast(HTTPServerOptionImpl)128;
  // ...
}

Note that generating the stack traces are generally a costly operation that should usually be avoided in production environments. It can also reveal internal information about the application, such as function addresses, which can help an attacker to abuse possible security holes.

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2017 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.