Abnaxos / meldioc

A prototype of an IoC (Inversion of Control) library for Java
MIT License
5 stars 1 forks source link

Check and fix Jackson configurations #78

Closed Abnaxos closed 4 years ago

Abnaxos commented 4 years ago

Jackson is by default configured to close streams, causing sometimes exceptions when using HTTP with Jackson codec. This can be fixed with objectMapper.configure(JsonGenerator.Feature.AUTO_CLOSE_TARGET, false). Do this by default.

Also go through the other configuration flags and adapt their defaults.