Jesús Lobos
73a1f84080
Fix `Native` and `Packages` comment structure ( #244 )
8 years ago
Guillermo Rauch
5fd5802880
Improved agent ( #240 )
* improves agent
- reverts spdy for now (causing issues with alias)
- sets up an agent pool of 4 max sockets with a 10s keep alive timeout
- better error handling and re-initialization
* improves agent
- reverts spdy for now (causing issues with alias)
- sets up an agent pool of 4 max sockets with a 10s keep alive timeout
- better error handling and re-initialization
8 years ago
Jarmo Isotalo
059918e7ee
Remove babel as dependecy ( #209 )
* Remove babel as a dependency
* Migrate from import foo from foo to const foo = require('foo')
* Update module.exports
* Update commander syntax
* Update pkg config and fix stuff
* Make XO happy
* Fix path in tests
* Fix typo
* Fix cleanup
* Debug pkg
* Fix pkg
* Fix process.argv for subcommands
* Run with --harmony-async-await when supported thx igor for help with this trick :D
* Use bash
* Set engines.node in package.json
8 years ago
Leo Lamprecht
e9a95e7253
Only check if opts.body exists and doesn't have a falsy value
8 years ago
Leo Lamprecht
3979d8472a
Fixed even more XO issues
8 years ago
Guillermo Rauch
eb04657b2f
Add zeit world (wip) ( #67 )
* alias: clean up the alias (trailing and leading dots)
* alias: improve domain validation and implement zeit.world
* is-zeit-world: detect valid zeit.world nameservers
* package: add domain-regex dep
* now-alias: fix edge case with older aliases or removed deployments
* alias: move listing aliases and retrying to `index`
* index: generalize retrying and alias listing
* alias: remove `retry` dep
* now-remove: print out alias warning
* typo
* now-alias: prevent double lookup
* now: add domain / domains command
* now-deploy: document `domain`
* agent: allow for tls-less, agent-less requests while testing
* is-zeit-world: fix nameserver typo
* dns: as-promised
* now-alias: fix `rm` table
* now-alias: no longer admit argument after `alias ls`
@rase- please verify this, but I think it was overkill?
* admit "aliases" as an alternative to alias
* make domain name resolution, creation and verification reusable
* index: add nameserver discover, domain setup functions (reused between alias and domains)
* now-domains: add command
* domains: commands
* package: bump eslint
* now-alias: simplify sort
* now-domains: sort list
* now-domains: improve deletion and output of empty elements
* errors: improve output
* domains: add more debug output
* domains: extra logging
* errors: improve logging
* now-remove: improve `now rm` error handling
* index: more reasonable retrying
* alias: support empty dns configurations
* dns: remove ns fn
* alias: improve post-dns-editing verification
* index: remove unneeded dns lookup
* index: implement new `getNameservers`
* index: customizable retries
* alias: improve error
* improve error handling and cert retrying
* customizable retries
* alias: better error handling
* alias: display both error messages
* better error handling
* improve error handling for certificate verification errors
* alias: set up a `*` CNAME to simplify further aliases
* alias: fewer retries for certs, more spaced out (prevent rate limiting issues)
* alias: ultimate error handling
* add whois fallback
* adjust timer labels for whois fallback
* index: whois fallback also upon 500 errors
* alias: fix error message
* fix duplicate aliases declaration
9 years ago
Naoyuki Kanezawa
15d6a9d621
don't use http2 agent when url is http ( #76 )
9 years ago
Guillermo Rauch
fe4912f8c0
Revert "Revert "add http2 support back""
This reverts commit 1bd1b56ce3
.
9 years ago
Guillermo Rauch
1bd1b56ce3
Revert "add http2 support back"
This reverts commit b1a979d698
.
9 years ago
Guillermo Rauch
b1a979d698
add http2 support back
9 years ago
nkzawa
7903aa69a6
add url option for development
9 years ago
Guillermo Rauch
a4679cfb1b
Release 0.9.17
9 years ago
Tony Kovanen
24f55c047d
Don't stringify body of streams
9 years ago
Guillermo Rauch
71b4d651d2
agent: fix content-length calc
9 years ago
Guillermo Rauch
a97b5075a2
fix agent init
9 years ago
Guillermo Rauch
d78fa92d74
agent: implement debugging support
9 years ago
Guillermo Rauch
704727a863
agent: refactor to re-start connections
9 years ago
Guillermo Rauch
5aeca7d7bc
agent: http2 agent helper
9 years ago