Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phalcon\Http\Request Optimizations #889

Merged
merged 2 commits into from Jul 22, 2013
Merged

Phalcon\Http\Request Optimizations #889

merged 2 commits into from Jul 22, 2013

Conversation

ghost
Copy link

@ghost ghost commented Jul 20, 2013

  • get raw request body from SG(request_info).raw_post_data, not via PHP streams;
  • faster getMethod();
  • fast path in isMETHOD() — do not call getMethod() if the calling class is Phalcon\Http\Request
  • optimize getHeaders()
  • optimize _getQualityHeader()
  • optimize _getBestQuality()

phalcon pushed a commit that referenced this pull request Jul 22, 2013
Phalcon\Http\Request Optimizations
@phalcon phalcon merged commit ef5201f into phalcon:1.2.1 Jul 22, 2013
@ghost ghost deleted the get-method branch July 22, 2013 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants