author | Marc Fournier <marc.fournier@camptocamp.com> | |
Sat, 17 Jan 2015 15:10:46 +0000 (16:10 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 20 Jan 2015 05:49:36 +0000 (06:49 +0100) | ||
commit | bc2918029233c9925def654107dfc5cd5d4919f2 | |
tree | 01815094320b20426fe2c16942c4e4865f40eb04 | tree | snapshot |
parent | ef77268059b78e11226a23b72f500238e83d399a | commit | diff |
write_http: make callback names context-dependent
This allows multiple destinations to work again (fixes #821), using the
same logic as other write plugins.
The callback name would now be something like:
`write_http/http://example.com/endpoint`
which is not very nice.
The next step would be to change this plugin to use `<Node>` blocks
like many others, and pass the URL as a parameter inside each instance
block. So I see this patch as the minimum required to let 5.3 and 5.4
users use this plugin with multiple destinations.
Conflicts:
src/write_http.c
This allows multiple destinations to work again (fixes #821), using the
same logic as other write plugins.
The callback name would now be something like:
`write_http/http://example.com/endpoint`
which is not very nice.
The next step would be to change this plugin to use `<Node>` blocks
like many others, and pass the URL as a parameter inside each instance
block. So I see this patch as the minimum required to let 5.3 and 5.4
users use this plugin with multiple destinations.
Conflicts:
src/write_http.c
src/write_http.c | diff | blob | history |