You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Rajika Kumarasiri (JIRA)" <ji...@apache.org> on 2007/10/27 07:39:50 UTC

[jira] Created: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
-------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-735
                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: Current (Nightly)
         Environment: Gnu/Linux 
            Reporter: Rajika Kumarasiri
            Priority: Minor


The function is to check weather the sever thread is running. But it returns the port. 
I think it should be correct as  return svr_thread->stopped;
in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando updated AXIS2C-735:
-----------------------------------

    Attachment: diff.txt

Hi Rajika,
I went through the proposed patch. But, I believe that the return value should be the opposite of svr_thread->stopped.

Because, the thread would be running if it is not stopped.

Therefore, I propose a new patch (refer diff.txt)

Regards,
Senaka

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Priority: Minor
>         Attachments: diff.txt, http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal resolved AXIS2C-735.
------------------------------------

    Resolution: Fixed

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: diff.txt, http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543476 ] 

Dinesh Premalal commented on AXIS2C-735:
----------------------------------------

fixed.

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: diff.txt, http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Rajika Kumarasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajika Kumarasiri updated AXIS2C-735:
-------------------------------------

    Attachment: http_svr_thread.patch

patch to solve  the issue

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Priority: Minor
>         Attachments: http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal reassigned AXIS2C-735:
--------------------------------------

    Assignee: Dinesh Premalal

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: diff.txt, http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-735) bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal updated AXIS2C-735:
-----------------------------------

    Fix Version/s: 1.2.0

> bug in fuction axis2_http_svr_thread_is_running() in src/core/transport/http/receiver/http_svr_thread.c
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-735
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-735
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Gnu/Linux 
>            Reporter: Rajika Kumarasiri
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: diff.txt, http_svr_thread.patch
>
>
> The function is to check weather the sever thread is running. But it returns the port. 
> I think it should be correct as  return svr_thread->stopped;
> in /core/transport/http/receiver/http_svr_thread.c, line 198 to be returned the check for weather the server thread is running. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org