]> granicus.if.org Git - apache/commitdiff
Add missing prototype for ajp_handle_cping_cpong function
authorMladen Turk <mturk@apache.org>
Wed, 26 Jul 2006 09:25:19 +0000 (09:25 +0000)
committerMladen Turk <mturk@apache.org>
Wed, 26 Jul 2006 09:25:19 +0000 (09:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425690 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/ajp.h

index 3628296796c4a3ed13ff016289f021afa24374d1..011e655f6bc503921e1f23a27cbaf9d60151f633 100644 (file)
@@ -458,6 +458,17 @@ apr_status_t ajp_parse_header(request_rec *r, proxy_dir_conf *conf,
 apr_status_t  ajp_parse_data(request_rec  *r, ajp_msg_t *msg,
                              apr_uint16_t *len, char **ptr);
 
+
+/** 
+ * Handle the CPING/CPONG messages
+ * @param sock      backend socket
+ * @param r         current request
+ * @param timeout   time window for receiving cpong reply
+ * @return          APR_SUCCESS or error
+ */
+apr_status_t ajp_handle_cping_cpong(apr_socket_t *sock,
+                                    request_rec *r,
+                                    apr_interval_time_t timeout);
 /** @} */
 
 #endif /* AJP_H */