From: Blake Williams <blake@blakewilliams.me> To: Eric Wong <e@80x24.org> Cc: unicorn-public@yhbt.net Subject: Re: [PATCH] Add rack.after_reply functionality Date: Wed, 9 Dec 2020 09:58:48 -0500 Message-ID: <F8937548-A781-4C89-8676-B74ACC93E946@blakewilliams.me> (raw) In-Reply-To: <20201209094344.GA25593@dcvr> > OK. Keep in mind this can be server-dependent since unicorn > can't support persistent connections while (most?) other servers > do (and they may disable TCP_CORK or Nagle, etc). I see, I’ll look into this as well. >>> Citation(s) needed. Also, are there any proposal(s) to get this >>> into the Rack specification? >> >> Not that I’m aware of. But I agree that it and early_hints could both be >> good additions to the spec. > > By "Citation(s) needed", can you list some other (preferably > well-known) Rack servers which also implement this feature? > > We wouldn't want current unicorn users thinking we're adopting > random new things which nobody else supports :> > > Thanks. Totally understood. I looked at Puma, Thin, and Webrick and only Puma supports this functionality without a third-party gem. There is at least one third party gem adding this functionality to web servers that don’t support it, but it doesn’t look like it’s being maintained any longer. I briefly dove into the Puma source and it looks like rack.after_reply has been supported since 2011. It’s also still in use by Puma for their common logger middleware patch.
next prev parent reply other threads:[~2020-12-09 14:58 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-08 21:47 Blake Williams 2020-12-08 22:46 ` Eric Wong 2020-12-08 23:48 ` Blake Williams 2020-12-09 9:43 ` Eric Wong 2020-12-09 14:58 ` Blake Williams [this message] 2020-12-09 22:18 ` Eric Wong 2020-12-09 23:44 ` Blake Williams
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://yhbt.net/unicorn/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=F8937548-A781-4C89-8676-B74ACC93E946@blakewilliams.me \ --to=blake@blakewilliams.me \ --cc=20201209094344.GA25593@dcvr \ --cc=e@80x24.org \ --cc=unicorn-public@yhbt.net \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help This inbox may be cloned and mirrored by anyone: git clone --mirror https://yhbt.net/unicorn-public git clone --mirror http://ou63pmih66umazou.onion/unicorn-public # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V1 unicorn-public unicorn-public/ https://yhbt.net/unicorn-public \ unicorn-public@yhbt.net unicorn-public@bogomips.org mongrel-unicorn@rubyforge.org mongrel-unicorn-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org public-inbox-index unicorn-public Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.lang.ruby.unicorn nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.unicorn note: .onion URLs require Tor: https://www.torproject.org/ code repositories for the project(s) associated with this inbox: ../../unicorn.git AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git