Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b80ea90
Add path args
bmooij-beeliners Oct 6, 2018
37f3d59
Add example
bmooij-beeliners Oct 6, 2018
41695e6
Update code format
bmooij-beeliners Oct 6, 2018
5dfa3f1
Add missing include
bmooij-beeliners Oct 6, 2018
ddb0f6f
Fix codestyle and unsigned int
bmooij-beeliners Oct 6, 2018
4e49e29
fix unsigned int
bmooij-beeliners Oct 6, 2018
1584859
Remove tabs
bmooij-beeliners Oct 8, 2018
da189ba
use vector<>.resize
bmooij-beeliners Oct 8, 2018
cabf620
rename j to requestUriIndex
bmooij-beeliners Oct 8, 2018
7cd3468
using assert checking the path argument index
bmooij-beeliners Oct 9, 2018
637b9cb
Add missing include "assert.h"
bmooij-beeliners Oct 9, 2018
63163d7
The order no longer matters.
bmooij-beeliners Oct 9, 2018
a626c5f
make pathArg return a const
bmooij-beeliners Oct 9, 2018
977120c
Update PathArgServer.ino
d-a-v Oct 10, 2018
de7b504
const String&
d-a-v Nov 30, 2018
879e076
Add regex support
bmooij-beeliners Dec 24, 2018
afe7854
Fix to match templating
bmooij-beeliners Nov 1, 2019
8f5eda3
Add Uri with support for staticUri, regexUri and globUri
bmooij-beeliners Nov 1, 2019
2ee04d0
Update example
bmooij-beeliners Nov 1, 2019
3edf15a
Add deconstructor to remove _uri pointer
bmooij-beeliners Nov 1, 2019
820597c
Add newline to end of files
bmooij-beeliners Nov 1, 2019
8d95fb6
Suppress gcc warnings (unused params)
bmooij-beeliners Nov 7, 2019
a856527
Merge branch 'master' into feature/multi_uri
Bmooij Nov 28, 2019
87e823c
Merge branch 'master' into feature/multi_uri
d-a-v Nov 28, 2019
baa4c49
Replace regex with regex.h
bmooij-beeliners Dec 27, 2019
f470387
Merge branch 'master' into feature/multi_uri
earlephilhower Feb 22, 2020
bb77646
Use the standard STASSID/PSK settings for example
earlephilhower Feb 22, 2020
be78c3b
Use 115.2Kbaud for example, match others
earlephilhower Feb 22, 2020
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add deconstructor to remove _uri pointer
  • Loading branch information
bmooij-beeliners committed Nov 1, 2019
commit 3edf15a37e9dc378daf366da6fb5d781c85f4406
4 changes: 4 additions & 0 deletions libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class FunctionRequestHandler : public RequestHandler<ServerType> {
_uri->initPathArgs(RequestHandler<ServerType>::pathArgs);
}

~FunctionRequestHandler() {
delete _uri;
}

bool canHandle(HTTPMethod requestMethod, String requestUri) override {
if (_method != HTTP_ANY && _method != requestMethod)
return false;
Expand Down