Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Add "overwrite" boolean to allow the possibility to edit a current handle #46

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

adevress
Copy link
Contributor

Add "overwrite" boolean to allow the possibility to edit a current handle instead of creating a new one.

Useful feature when someone want to use multiple method on the same handle without keeping reference to the handle

This allows to add several method (POST,DELETE,PUT) to an existing handler without headache
or having to keep a reference to every handle
@Jeffail
Copy link
Contributor

Jeffail commented Jan 10, 2019

Hey @adevress, looks good. Would you be able to add some unit tests to https://github.com/meltwater/served/blob/master/src/served/multiplexer.test.cpp?

adevress and others added 26 commits February 12, 2019 14:33
Fix potential segmentation fault at destruction
Fix lambda temporary shared_ptr not used (avoid side effects)
Added missing virtual destructor to `segment_matcher`.
  - ERROR is a macro in wingdi.h. It can be avoided by defining NOGDI
  - DELETE is a macro in winnt.h. It has to be undefined
Fix lambda temporary shared_ptr not used (avoid side effects)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants