aboutsummaryrefslogtreecommitdiff
path: root/plugin/errors
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/errors')
-rw-r--r--plugin/errors/setup.go3
-rw-r--r--plugin/errors/setup_test.go2
2 files changed, 2 insertions, 3 deletions
diff --git a/plugin/errors/setup.go b/plugin/errors/setup.go
index 283f3dd15..ef279dadf 100644
--- a/plugin/errors/setup.go
+++ b/plugin/errors/setup.go
@@ -4,10 +4,9 @@ import (
"regexp"
"time"
+ "github.com/coredns/caddy"
"github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin"
-
- "github.com/caddyserver/caddy"
)
func init() { plugin.Register("errors", setup) }
diff --git a/plugin/errors/setup_test.go b/plugin/errors/setup_test.go
index 54ee3512a..c61cf54c4 100644
--- a/plugin/errors/setup_test.go
+++ b/plugin/errors/setup_test.go
@@ -3,7 +3,7 @@ package errors
import (
"testing"
- "github.com/caddyserver/caddy"
+ "github.com/coredns/caddy"
)
func TestErrorsParse(t *testing.T) {
Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/node/node_fs_binding.zig (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-08-25Fix `Request` and `Response` in macrosGravatar Jarred Sumner 1-19/+31
2022-08-25Faster way to lookup mimetypeGravatar Jarred Sumner 1-7/+8
2022-08-25Fix incorrect `indexOfNotChar` causing sourcemaps bugsGravatar Jarred Sumner 1-7/+9
2022-08-24Fix clearTimeout and linux timeout (#1138)Gravatar Zilin Zhu 2-5/+11
2022-08-24Add pad back to base64 (#1140)Gravatar Zilin Zhu 1-4/+4
2022-08-23updated minified url polyfill (#1132)Gravatar Sam 1-1/+1
2022-08-23add SlowBuffer (#1133)Gravatar Zilin Zhu 3-1/+15
2022-08-22Remove response poolGravatar Jarred Sumner 3-47/+8
2022-08-22Fix build errorGravatar Jarred Sumner 3-2/+16
2022-08-22woopsGravatar Jarred Sumner 1-1/+0
2022-08-22[node:http] speed up assigning headersGravatar Jarred Sumner 3-75/+58
2022-08-22reduce usage of protectGravatar Jarred Sumner 1-1/+11
2022-08-22Update mime_type.zigGravatar Jarred Sumner 1-0/+6
2022-08-22Improve error message when port is already in useGravatar Jarred Sumner 1-2/+12
2022-08-22Update server.zigGravatar Jarred Sumner 1-2/+2
2022-08-22Support emit Symbol events in EventEmitter (#1129)Gravatar Zilin Zhu 7-122/+278
2022-08-22faster way to read content-typeGravatar Jarred Sumner 1-1/+1
2022-08-22Fix `Buffer.isEncoding`Gravatar Jarred Sumner 1-1/+3
2022-08-22Add some optimizations to FetchHeadersGravatar Jarred Sumner 3-16/+188
2022-08-22Fix import pathGravatar Jarred Sumner 1-1/+1
2022-08-2238% faster `node:http`Gravatar Jarred Sumner 1-77/+203
Before: ```fish ❯ oha http://localhost:3000 -z 2s -c 20 Summary: Success rate: 1.0000 Total: 2.0006 secs Slowest: 0.0095 secs Fastest: 0.0000 secs Average: 0.0003 secs Requests/sec: 69521.0420 ``` After: ``` ❯ oha http://localhost:3000 -z 2s -c 20 Summary: Success rate: 1.0000 Total: 2.0005 secs Slowest: 0.0063 secs Fastest: 0.0000 secs Average: 0.0002 secs Requests/sec: 109119.8614 ``` Code ``` const http = require("http"); const hostname = "127.0.0.1"; const port = 3000; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader("Content-Type", "text/plain"); res.end("Hello World!"); }); server.listen(port, hostname, () => { console.log(`Server running at http://${hostname}:${port}/`); }); ```