httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1732481 - in /httpd/httpd/trunk/modules/http2: h2_proxy_session.c h2_session.c
Date Fri, 26 Feb 2016 13:53:51 GMT
Author: icing
Date: Fri Feb 26 13:53:51 2016
New Revision: 1732481

URL: http://svn.apache.org/viewvc?rev=1732481&view=rev
Log:
fixing compile errors+warnings in gcc

Modified:
    httpd/httpd/trunk/modules/http2/h2_proxy_session.c
    httpd/httpd/trunk/modules/http2/h2_session.c

Modified: httpd/httpd/trunk/modules/http2/h2_proxy_session.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_proxy_session.c?rev=1732481&r1=1732480&r2=1732481&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_proxy_session.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_proxy_session.c Fri Feb 26 13:53:51 2016
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+#include <stddef.h>
 #include <apr_strings.h>
 #include <nghttp2/nghttp2.h>
 
@@ -139,7 +140,6 @@ static int on_frame_recv(nghttp2_session
                          void *user_data) 
 {
     h2_proxy_session *session = user_data;
-    h2_proxy_stream *stream;
     
     if (APLOGcdebug(session->c)) {
         char buffer[256];
@@ -152,7 +152,6 @@ static int on_frame_recv(nghttp2_session
 
     switch (frame->hd.type) {
         case NGHTTP2_HEADERS:
-            stream = nghttp2_session_get_stream_user_data(ngh2, frame->hd.stream_id);
             break;
         case NGHTTP2_PUSH_PROMISE:
             break;
@@ -163,7 +162,6 @@ static int on_frame_recv(nghttp2_session
             break;
         case NGHTTP2_GOAWAY:
             dispatch_event(session, H2_PROXYS_EV_REMOTE_GOAWAY, 0, NULL);
-            /* TODO: close handling */
             if (APLOGcinfo(session->c)) {
                 char buffer[256];
                 

Modified: httpd/httpd/trunk/modules/http2/h2_session.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_session.c?rev=1732481&r1=1732480&r2=1732481&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_session.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_session.c Fri Feb 26 13:53:51 2016
@@ -14,6 +14,7 @@
  */
 
 #include <assert.h>
+#include <stddef.h>
 #include <apr_thread_cond.h>
 #include <apr_base64.h>
 #include <apr_strings.h>



Mime
View raw message