Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: puma/puma
...
head fork: puma/puma
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Jun 13, 2012
Dirkjan Bussink dbussink Define RSTRING_NOT_MODIFIED for Rubinius
As far as I could tell, the buffer given to the http parser isn't
modified. Because it is not modified, we can use the
RSTRING_NOT_MODIFIED header to ensure that Rubinius hasn't do the extra
work to copy the data back and forth.
0728ce5
Commits on Jun 22, 2012
Evan Phoenix evanphx Merge pull request #106 from dbussink/master
Add RSTRING_NOT_MODIFIED for Rubinius
680be41
Showing with 3 additions and 0 deletions.
  1. +3 −0  ext/puma_http11/puma_http11.c
3  ext/puma_http11/puma_http11.c
View
@@ -2,6 +2,9 @@
* Copyright (c) 2005 Zed A. Shaw
* You can redistribute it and/or modify it under the same terms as Ruby.
*/
+
+#define RSTRING_NOT_MODIFIED 1
+
#include "ruby.h"
#include "ext_help.h"
#include <assert.h>

No commit comments for this range

Something went wrong with that request. Please try again.