Switch to unified view
a/src/internfile/mimehandler.cpp | b/src/internfile/mimehandler.cpp | ||
---|---|---|---|
... |
... |
||
313 | } |
313 | } |
314 | 314 | ||
315 | out: |
315 | out: |
316 | if (h) { |
316 | if (h) { |
317 | h->set_property(Dijon::Filter::DEFAULT_CHARSET, cfg->getDefCharset()); |
317 | h->set_property(Dijon::Filter::DEFAULT_CHARSET, cfg->getDefCharset()); |
318 | // In multithread context, and in case this handler is out |
||
319 | // from the cache, it may have a config pointer belonging to |
||
320 | // another thread. Fix it. |
||
321 | h->setConfig(cfg); |
||
318 | } |
322 | } |
319 | return h; |
323 | return h; |
320 | } |
324 | } |
321 | 325 | ||
322 | /// Can this mime type be interned (according to config) ? |
326 | /// Can this mime type be interned (according to config) ? |