~ubuntu-branches/debian/sid/unicorn/sid

« back to all changes in this revision

Viewing changes to ext/unicorn_http/unicorn_http.rl

  • Committer: Package Import Robot
  • Author(s): Jérémy Bobbio, Hleb Valoshka, Jérémy Bobbio
  • Date: 2013-05-07 11:02:06 UTC
  • mfrom: (7.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130507110206-urgp5n2mwmkcsu5k
Tags: 4.6.2-2
[ Hleb Valoshka ]
* Change the way tests are run during package build.
* Bump Standards-Version to 3.9.4.
* Remove DM-Upload-Allowed.

[ Jérémy Bobbio ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
  } len;
116
116
};
117
117
 
118
 
static ID id_clear, id_set_backtrace;
 
118
static ID id_clear, id_set_backtrace, id_response_start_sent;
119
119
 
120
120
static void finalize_header(struct http_parser *hp);
121
121
 
626
626
 
627
627
  http_parser_init(hp);
628
628
  rb_funcall(hp->env, id_clear, 0);
 
629
  rb_ivar_set(self, id_response_start_sent, Qfalse);
629
630
 
630
631
  return self;
631
632
}
1031
1032
  SET_GLOBAL(g_http_connection, "CONNECTION");
1032
1033
  id_clear = rb_intern("clear");
1033
1034
  id_set_backtrace = rb_intern("set_backtrace");
 
1035
  id_response_start_sent = rb_intern("@response_start_sent");
1034
1036
  init_unicorn_httpdate();
1035
1037
}
1036
1038
#undef SET_GLOBAL